Functions with Keyword Arguments¶
Arguments of a function can be passed by using the keyword syntax. This allows for changing the order of the arguments.
Example:
def say(what, to):
print(what, to)
say(what="Hello", to="World")
say(to="Björn", what="Moin")