Why is the second statement a syntax error, while the first is not?
>>> [] = ()
>>> () = []
File "<stdin>", line 1
SyntaxError: can't assign to ()
Why is the second statement a syntax error, while the first is not?
>>> [] = ()
>>> () = []
File "<stdin>", line 1
SyntaxError: can't assign to ()