Python Assigning the Values At once.
a = 1b = 1
c = 1
d = 1
or, you can assign simultaneously as;
a=b=c=d=1
Python Assigning Multiple Values at Once
The other way you can assign as;
a, b, c, d = 10, 1, 3.5, 'Srini'
From the above, you can understand as below:
The '10' assigns to a.The '1' assigns to b.
The '3.5' assigns to c.
Then 'Srini' to d.
0 Comments
Thanks for your message. We will get back you.