I’m confused on what exactly the definition of parameters and arguments are. Functions were easy to understand up until arguments were introduced. Parameters were easy to understand – placeholders for another value to be used later. I keep on getting either vague definitions or terminology that doesn’t make sense to me. Also if an example could be provided that would be much appreciated. Thank you for the help!
Arguments are the values, parameters are the variables that receive them.
UPDATE: Never mind, sorry for the trouble. I found a clearer definition – an argument is the value used after the parameter is defined. For example,
def age_update(x): age = 13 print age + x age_update(1)
age_update(1), 1 is the argument, the value that substituted for