Example & Tutorial understanding programming in easy ways.

Swap two variable value using third variable in Python ?

program:

a=10

b=3

print(a,b)

t=a

a=b

b=t

print(a,b)

output:

10,3

3,10

Read More →