+ 2
changing variable
a=10; b=20 not using new variable and changing a and b's value
2 Respostas
+ 8
a = 10
print(a)
#change a value
a = 5
print(a)
???
+ 5
i think...
he asked for swapping a, b
without new variable
a=a+b
b=a-b
a=a-b
a=10; b=20 not using new variable and changing a and b's value