NoneAdvanced Playground

Represents the absence of a value; Python's null equivalent

Python Playground
Output
Click "Run" to execute your code

None is a singleton — there is only ever one None object in memory. It is falsy but not equal to other falsy values like 0, False, or ''.

Challenge

Try modifying the code above to explore different behaviors. Can you extend the example to handle a new use case?