+ 2
Can we assign more variables in a single statement?
In python can we assign multiple variables in a same line as below a,b,c=1,2,3 Is it possible?
2 Answers
+ 3
Sure :)) Like
one, two, three = 1, 2, 3
print(two)
Output is 2!
0
Ohh great!!
Thanks Arb Rahim Badsa