Talk:argument

Definition from Wiktionary, the free dictionary
Jump to: navigation, 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)

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)