3 ms·
Except it'd just error out with "can't assign to function call". You also can't assign in if/while (they expect an expression, while assignment makes it a state
by icebraining 11y ago
Except it'd just error out with "can't assign to function call". You also can't assign in if/while (they expect an expression, while assignment makes it a statement).
So, all-in-all, in Python it's not really error prone unless you never run the code at all.
- monochromatic 11y agoIn other news, sometimes jokes are not literally true.