None represents the absence of a value in Python. Because everything in Python is an object, None has its own type: NoneType. section 5.2
An unnamed pet
If a new pet has not been named, its name can be represented by None: pet_name = None. The variable has a value, but that value means no name has been assigned yet. section 5.2
Keep these distinctions clear:
- None means the absence of a value; it is not the same as the string "None". section 5.2
- NoneType is the type of the special value None. section 5.2
