This is much later but I wanted to clarify for anyone confused by the same thing.
The difference between a parameter and an argument is where it is. Parameters are placeholder variables that are used when defining a function so that later the function can take inputs when called. Arguments are the term for when we provide values while calling the function. Remember that defining a function uses
def and doesn’t actually run the function, calling the function happens later using parenthesis like
A parameter can be given a default value
param1 = value (in the above question), in which case it is optional to use it as an argument. If that parameter is not provided a value when it is being called, then it will use the default.
Keyword Arguments are a way to specify a specific parameter to assign a value to rather than doing them all in order. This is very useful when you are dealing with a function that has 10+ parameters, such as when using graphing functions.
Anyways, hope this helps!