Written by Real Python
In this quiz, you’ll test your understanding of Null in Python: Understanding Python’s NoneType Object. Python uses the keyword None to define null objects and variables. None isn’t defined to be 0 or any other value. It’s a full-blown object and a first-class citizen of the language. By working through this quiz, you’ll revisit when and why to use None as a default parameter, how to check for None with the identity operators, what NoneType means in your tracebac...