Python Forum
what would you call the input for the parameter(s) of a function you have defined? - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: General Coding Help (https://python-forum.io/forum-8.html)
+--- Thread: what would you call the input for the parameter(s) of a function you have defined? (/thread-23191.html)



what would you call the input for the parameter(s) of a function you have defined? - rix - Dec-15-2019

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?


RE: what would you call the input for the parameter(s) of a function you have defined? - michael1789 - Dec-15-2019

I'm pretty sure the answer is "arguments".


RE: what would you call the input for the parameter(s) of a function you have defined? - ichabod801 - Dec-15-2019

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.


RE: what would you call the input for the parameter(s) of a function you have defined? - rix - Dec-16-2019

Thank you ichabod801. Perhaps I'll go with "argument" as it seems appropriate to me.