Python Forum
what would you call the input for the parameter(s) of a function you have defined?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
what would you call the input for the parameter(s) of a function you have defined?
#1
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?
Reply
#2
I'm pretty sure the answer is "arguments".
Reply
#3
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.
Craig "Ichabod" O'Brien - xenomind.com
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures
Reply
#4
Thank you ichabod801. Perhaps I'll go with "argument" as it seems appropriate to me.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
Question Two arguments in input function Alfredd 4 811 Nov-09-2025, 12:56 AM
Last Post: Pedroski55
  Using a For Loop to subtract numbers from an input function. Anunderling 9 2,819 Sep-22-2025, 08:56 PM
Last Post: deanhystad
Question Call CLI app with input? Winfried 5 1,292 May-23-2025, 07:52 PM
Last Post: snippsat
  function as parameter Azdaghost 2 1,386 Apr-01-2025, 07:10 PM
Last Post: DeaD_EyE
  not able to call the variable inside the if/elif function mareeswaran 3 1,531 Feb-09-2025, 04:27 PM
Last Post: mareeswaran
  Input function oldschool 1 1,255 Sep-14-2024, 01:02 PM
Last Post: deanhystad
  difference between forms of input a list to function akbarza 6 3,499 Feb-21-2024, 08:02 PM
Last Post: bterwijn
  Variable is not defined error when trying to use my custom function code fnafgamer239 4 2,764 Nov-23-2023, 02:53 PM
Last Post: rob101
  Printing the variable from defined function jws 7 11,962 Sep-03-2023, 03:22 PM
Last Post: deanhystad
  determine parameter type in definition function akbarza 1 1,721 Aug-24-2023, 01:46 PM
Last Post: deanhystad

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020