4 ms·
You'll need to find another one, the above results in SyntaxError: cannot assign to True
by 1337shadow 6y ago
You'll need to find another one, the above results in SyntaxError: cannot assign to True
- echelon 6y agoI could have sworn that was still a thing in Python 3, but it looks like they've formally been keywords since 3.0. I suppose it took awhile for the default Python shipped with systems to be 3.*, because I show people this anytime Gary Bernhardt's "wat" talk is brought up. Edit : Here's some of the fun from Python 2.X not treating True and False as keywords: https://stackoverflow.com/questions/13665989/in-python-how-to-recover-from-joke-statements-like-true-false https://stackoverflow.com/questions/13665989/in-python-how-t...