@kishore3484

Temp = a
A = b
B = temp

@Vallarasu-x4i

In python
a,b=b,a

@mohamedthowfik5338

( python ) a,b = b,a

@Get_lost_orno

X,y=2,3
Print(y,X)

@yogeshwaranb8619

Next step swap without using the third variable:
b=a+b
a=b-a
b=b-a

 Ex:
a=10
b=25
b=a+b (a=10,b=35) 
a=b-a  (a=25,b=35)
b=b-a  (a=25,b=10)

@yamunadevko6351

Ex:
A=10
B=14
A=A+B    #24
B=A-B # 24-14=10
A=A-B  # 24-10=14
Without using third element

@aji.ajithkumar

Using temp variable called C

@M.MÃTHÃÑKÛMÃR-n1u

Doubt cleared ❤👍

@paartipan192

We can use ,

@AnbuSelven-k4e

Temp=a, b=a,a=temp

@inba_winner

Temp = a
a = b
b = temp

@krishnaraj.r-lw6kq

x, y = 5, 10
x, y = y, x
print("x =", x)
print("y =", y) 🎉🎉

@AbubakkarSiddhiq-cc8ot

We can use third variables to swap

@ramkumarr2460

Thanks broo 👍

@suryaachiever1674

A=temp ,
A=B,
B=temp

@DeveloperMagesh

Bravo bro❤🎉

@Rishikesh-j6n

a,b=b,a

@M.Shringesh-gm7uo

Bro can you please explain javascript promises concept

@omprakashb2652

We can use pointers without using a temp variable

@NilaNila-g1e

A=10
B=5
A,b=b,A
Print(a)
Print(b)