+ 1

What is the difference between argument and parameter in python ?

Can anyone help me.

12th Dec 2020, 8:48 AM
Rathindhar .R.M
Rathindhar .R.M - avatar
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.
12th Dec 2020, 8:53 AM
noteve
noteve - avatar