Closed EwertonBello closed 3 years ago
For sequences, (strings, lists, tuples), use the fact that empty sequences are false.
Comparisons to singletons like None should always be done with is or is not, never the equality operators.
Sorry for taking so long with merging!
Code based on PEP 8 Style Guide