1
00:00:01,010 --> 00:00:05,120
Maybe you remember the len function and the isinstance function.

2
00:00:05,120 --> 00:00:12,230
The len function takes only one argument and the instance function you saw it takes two arguments.

3
00:00:12,230 --> 00:00:20,630
You can also see that in the Help documentation, so obj, that's the only argument that length takes.

4
00:00:23,370 --> 00:00:33,020
And if you look at isinstance it will get obj and class or tuple so some functions needs one argument,

5
00:00:33,030 --> 00:00:38,310
some need two, now these two functions were built in Python functions.

6
00:00:38,310 --> 00:00:43,250
So the python developers team designed these functions.

7
00:00:43,260 --> 00:00:48,700
So how can we make our own functions with multiple arguments? Pretty easy.

8
00:00:49,110 --> 00:00:55,160
Let's say we want an area function that calculates the area of a rectangle to have more than one argument.

9
00:00:55,170 --> 00:01:02,760
You just need to separate the parameters with a comma so parameter and argument, a parameter is what we

10
00:01:02,760 --> 00:01:07,390
refer to these variables when we are defining the function.

11
00:01:07,560 --> 00:01:14,780
And when we call the function like here we refer to them as arguments in the function call site.

12
00:01:14,850 --> 00:01:15,570
So to say.

13
00:01:18,720 --> 00:01:22,480
So return a times b, that will return of the area of a rectangle.

14
00:01:23,880 --> 00:01:32,790
And of course when you call the function you just pass values for those arguments.

15
00:01:39,270 --> 00:01:41,600
And you get the value output correctly.

