None — Intermediate Playground
Represents the absence of a value; Python's null equivalent
Python Playground
Output
Click "Run" to execute your codeNever use a mutable default argument like def f(x=[]). Use None as a sentinel and create the mutable object inside the function.
Challenge
Try modifying the code above to explore different behaviors. Can you extend the example to handle a new use case?