EN
Python - assign many values to multiple variables at once
0 points
In this article, we would like to show you how to assign many values to multiple variables at once in Python.
Quick solution:
xxxxxxxxxx
1
a, b, c = 1, 2, 3
2
3
print(a)
4
print(b)
5
print(c)
Output:
xxxxxxxxxx
1
1
2
2
3
3