declaring 2 variables python code example
Example 1: python set several variables to none
>>> a=1
>>> a
1
>>> a, b, c, d, e, f, g, h, i, j = (None,)*9
>>> type(a)
<class 'NoneType'>
Example 2: multiple variable declaration in python
a = b = 100
print(a)
# 100
print(b)
# 100
Example 3: how to add 2 variables in python
var1 = 5
var2 = 5
result = var1 + var2