python set several variables to none code example
Example: 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'>
>>> a=1
>>> a
1
>>> a, b, c, d, e, f, g, h, i, j = (None,)*9
>>> type(a)
<class 'NoneType'>