Open this example in the interactive library
Source code
def divide(a, b, /):
return a / b
print(divide(9, 3))Sample output
3.0

Use positional-only parameters. A self-contained example using the Python standard library.
Open this example in the interactive library
def divide(a, b, /):
return a / b
print(divide(9, 3))3.0