1. How do we assign multiple variables in a single statement in Python? code example
Example 1: multiple variable declaration in python
a, b, c = 0.1, 100, 'string'
print(a)
# 0.1
print(b)
# 100
print(c)
# string
Example 2: multiple variable declaration in python
a, b = 100, 200
print(a)
# 100
print(b)
# 200