one line declaration python code example
Example 1: assign multiple variablesin one line
#Instead Of
a = 1
b = ('Hello")
#You Can Do
a,b = 1,'Hello'
Example 2: multiple variable declaration in python
a, b, c = 0.1, 100, 'string'
print(a)
# 0.1
print(b)
# 100
print(c)
# string
Example 3: multiple variable declaration in python
a, b = 100, 200
print(a)
# 100
print(b)
# 200