PEP8: don't use len() to tell if the sequence is empty or not
For sequences, (strings, lists, tuples), use the fact that empty sequences are false.
Loading
Please register or sign in to comment
For sequences, (strings, lists, tuples), use the fact that empty sequences are false.