4 ms·
Implicit string and unicode conversions were confusing in Python 2. True + True evaluates to 2, although that is technically not a type conversion.
by qznc 8y ago
Implicit string and unicode conversions were confusing in Python 2.
True + True evaluates to 2, although that is technically not a type conversion.
- meowface 8y agoTrue + True is still 2 in Python 3.