+ 1
What is the difference between argument and parameter in python ?
Can anyone help me.
2 Respuestas
+ 5
def add(x, y):
return x + y
print(add(3,2))
#where 3,2 are the arguments and x,y are the parameters
ARGUMENTS are the values that are passed into functions as PARAMETERS.