Python Forum

Full Version: what would you call the input for the parameter(s) of a function you have defined?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
What would you call what you would put into the parameters section when calling a function which you have defined?
eg:
def example(parameter):
    pass
If I were to type in ' example(123) ' then what would the '123' be? Would it still be the "parameter" or would it be the "input for/as the parameter", or what would it be?
I'm pretty sure the answer is "arguments".
There isn't a universal standard for this. Some would call both 'parameter' and '123' parameters. Some would call 'parameter' the parameter, while '123' is the argument. If you wanted to go hardcore technical you might call 'parameter' the formal parameter and '123' the actual parameter.
Thank you ichabod801. Perhaps I'll go with "argument" as it seems appropriate to me.