Files
python/reference/concepts/default_arguments.md

311 B

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