Skip to playerSkip to main contentSkip to footer
  • 5/20/2025
Parameters and arguments are related concepts in Python functions, but they serve different roles:
Parameters:
These are the variable names listed inside the parentheses in the function definition. They act as placeholders for the values that the function will receive when it is called.
Arguments:
These are the actual values that are passed to the function when it is called. They are the data that the function will use to perform its operations.
Transcript
00:00parameter and argument are what are the difference and what are the difference.
00:04Now, to understand the difference, I will show you a scenario.
00:08The scenario is that
00:10this is your college, school, university, or university.
00:16You can go to the store,
00:19you can go to the chai-chai,
00:20you can go to the store,
00:22and you can go to the school, college, university class,
00:26and you can go to the store.
00:27You can go to the store,
00:31you can give the diner,
00:33you can take out the store,
00:34but you can tell me that you look at the program.
00:39So, you can go to the store for a function,
00:42which makes two numbers,
00:45because the money comes,
00:47it has gone.
00:49So you have two small stores,
00:52and these are two gha'ahs,
00:54so you can figure out the function.
00:57So you can say that this is not a problem, I have to make it simple.
01:01You can say that this is a function of def adder.
01:06And what does this function do?
01:09This function will call. Print.
01:12Print. Print.
01:13And this function will be 2 plus 2. Very simple.
01:17Now, for this function to execute,
01:20you can tell the function to call.
01:24You can say function call.
01:26You can say that function call means invoke.
01:30You can say invoke.
01:32You can say invoke.
01:34You can say execute.
01:36So if you have any word in actual life,
01:41you will understand that this is a meaning.
01:43Function call, function execute, function invoke.
01:45So function call.
01:47You can say that function call.
01:49So you can say that.
01:51Funcute results.
01:53You can say Wahl.
01:54The next function,
01:56the qualifiers are two plus two.
01:57I'm saying exeked.
01:59So are you lucky?
02:00But you can say that.
02:02You can protect those.
02:03This function.
02:04This function is aαΊ».
02:05Why are you extremely different?
02:06D pong.
02:07You have to stay somewhere.
02:08So you can recognize?
02:09Okay, show them that second function
02:18So you okay.
02:20He has executed, he has called function, two plus two, four.
02:23Now, if you have said that if you have more value,
02:28then you have three.
02:29Here you have six.
02:31You have three and six.
02:33You have three and six.
02:35You have nine results will return.
02:38Excellent.
02:40However,
02:42he knows that all these things are fluctuated.
02:47And the other problem is that I have function call with function under code.
02:53This is dangerous.
02:55When my code is very big,
02:57when my code is 100-150 lines,
02:59then I will go where to go.
03:02This problem is gone.
03:04You have gone.
03:05You have gone.
03:06You have gone.
03:08You have no problem.
03:10This is one of the best course Python.
03:12It's no problem for me.
03:14Now,
03:17this variable uses function call whenever I provide distance.
03:20The current function dΓ‘nd Um bastante.
03:25Now,
03:28if this variableInt guy can' access to function call,
03:31I will give it here,
03:33then it will tell me how much more.
03:36no question!
03:37If I show this variable,
03:38I'll give this parentheses into function call,
03:40then I'll give this.
03:42If I add 2 plus 2,
03:44then I'll give this 2 comma 2
03:46or 3 comma 2,
03:49or 2,
03:50then then I'll add 2 for 2.
03:52Then I'll give this problem not a problem.
03:54I'll give this problem.
03:56This x plus 2 will give you,
03:58then I'll give this x.
04:01Then y will add.
04:02Then y will give this y.
04:05Now I have to say that there are no need to be a block of code that will be x plus y.
04:12So, the two numbers will be added.
04:16Now I have a container owner.
04:22Remember that you are a user.
04:24You are a code designer.
04:30You are a engineer.
04:35Good, good.
04:36Now I have to go to the container owner.
04:38Now I have to give it.
04:403 plus 2, 5.
04:42Wow, this is so cool.
04:43This means that you can call multiple times this function to parameter.
04:48Basically, the function doesn't need to see the function.
04:51Here you can see.
04:53Here you can see.
04:55This is very cool.
05:02This is very cool.
05:03Now, the job you have done.
05:08This is basically what we call parameter.
05:10The function has done.
05:15The function has done.
05:19Here you can send it.
05:20I have to define parameter.
05:23So if you have a function called, then you have a argument to give it.
05:30Now that's what the problem is.
05:31He said that you have a parameter defined, I have a value to give it, then I have a argument to give it.
05:35So you have a question.
05:37You have to say, look, my daughter is a Tommy.
05:41Your daughter is a simple daughter.
05:44So that's what the thing is.
05:47The user has value variable to give it, they have a argument to give it.
05:51The user has a variable to give it, they have a parameter to give it.
05:58Okay.
06:00So you have to understand that the variable is a function declaration.
06:06It is a function declaration.
06:09Function declaration.
06:10The parenthesis of the variable is a parameter.
06:15And that's why there are a function, the client is a claim to give it.
06:20Or a function, the owner is a client or a Dean is a owner.
06:22Or if you have a function to use it right now.
06:26And the actual value those give it, the actual value is our argument.
06:32This is a very important question.
06:33Interview in a question.
06:34I'm asked to ask you.
06:35So you have to ask your questions.
06:35So you have to ask yourself.
06:36So you have to ask yourself.
06:37So you have to ask your parameters and argument.
06:40It'sλ‹€οΏ½ tommy.
06:41It's the answer tommy.
06:43This is part of my family.
06:44I've asked you.
06:45You can't say that parameter and argument is not true.
06:51I don't want to say that, but I have an example.

Recommended