This lesson covers more recommendations provided by PEP8 to preserve consistency and remove ambiguity.
By the end of the lesson, you’ll know how to check:
- If a Boolean is
True
orFalse
- Whether a list is empty
- Whether or not a variable has a defined value
- That arguments are not None
- Suffixes and prefixes in lists
victorariasvanegas on Dec. 1, 2019
I don’t understand because you are using the return keyword instead of using the print function, thanks for the tutorial.