Files
python/reference/concepts/default_arguments.md

6 lines
311 B
Markdown
Raw Normal View History

# Default arguments
TODO: ADD MORE
- pre-setting function arguments to protect against them not being passed by a caller. The example uses `direction = NORTH` and `x=0, y=0` to ensure those values for a `robot` even if they are not initially passed. [robot-simulator](../exercise-concepts/robot-simulator.md)