Save
PL 11-12
PL MOD 15
Save
Share
Learn
Content
Leaderboard
Learn
Created by
Jeff
Visit profile
Cards (7)
A
parameter
is actually a variable
You can pass information to functions by using
parameters.
The syntax of Parameterized functions
def function (parameter)
:
###
A function can have as many
parameters
as you want
positional argument
passing in which the order of arguments passed matters
passing arguments, where the meaning of the argument is dictated by its name, not by its position ‒ it’s called
keyword argument passing.
Mixing positional and keyword arguments
- you have to put positional arguments before keyword arguments.