Python 3.7
Why this:
a,b,c = [], [], []
print(a is b, b is c)
is different than this:
a,b,c = ([],) * 3
print(a is b, b is c)
Python 3.7
Why this:
a,b,c = [], [], []
print(a is b, b is c)
is different than this:
a,b,c = ([],) * 3
print(a is b, b is c)