I am looking to initially set the value of 3 variables to False
within a class.
Is there a more pythonic way of doing this than:
a, b, c = False, False, False
I am looking to initially set the value of 3 variables to False
within a class.
Is there a more pythonic way of doing this than:
a, b, c = False, False, False
Since False
is conceptually a immutable singleton you can do
a = b = c = False