What is the difference between argument and parameter in python ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 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
1 Answer
+ 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