Atom

Default arguments

A default value lets callers omit a trailing argument. Use it when most callers want the same value but some need to choose a different one.

Use a default or give an override

Set the normal step to one.

Atom
func advance(position, step = 1):
    return position + step

print(advance(10))
print(advance(10, 5))
Output
11
15

The first call uses the default step of 1. The second call passes its own step.