Talk:argument

From Wiktionary, the free dictionary
Jump to navigation Jump to search

Argument vs. Parameter[edit]

This entry tells us, "The use of the word argument without formal as a qualifier is common, but is a loose usage. Parameter is more correct", but parameter says, "This is a loose usage. Argument is more correct." Which is right? —Internoob (Disc.Cont.) 00:14, 27 November 2009 (UTC)[reply]

A "parameter" is the name for the space that the argument will occupy when the function is called: i.e.
def function(parameter):
    return parameter
argument = 2
print function(argument)

discussion[edit]

debate or discussion about whether something is correct
Microsoft® Encarta® 2009

--Backinstadiums (talk) 12:37, 13 January 2020 (UTC)[reply]