1 00:00:00,000 --> 00:00:05,000 Maybe you'll remember the len function and the isinstance function. 2 00:00:05,001 --> 00:00:06,750 The len function takes only one 3 00:00:06,780 --> 00:00:10,080 argument, and the isinstance functioniyou saw it takes two 4 00:00:10,081 --> 00:00:16,020 arguments. You can also see that in the help 5 00:00:16,140 --> 00:00:18,780 documentation, so obj, that's the only 6 00:00:18,781 --> 00:00:20,779 argument that length takes. 7 00:00:20,780 --> 00:00:23,233 [Author typing] 8 00:00:23,234 --> 00:00:24,750 And if you look at 9 00:00:24,751 --> 00:00:30,816 this isinstance, it will get objand class_or_tuple. 10 00:00:30,817 --> 00:00:33,300 So functions needs 1 arguments, something 11 00:00:33,301 --> 00:00:37,020 needs 2. Now these 2 functions were built in 12 00:00:37,050 --> 00:00:40,740 Python functions. So the Python developers team 13 00:00:40,980 --> 00:00:44,640 designed this functions. So how can we make our 14 00:00:44,670 --> 00:00:48,180 own functions with multiple arguments? Pretty 15 00:00:48,181 --> 00:00:51,090 easy. Let's say we want some area function that 16 00:00:51,091 --> 00:00:54,270 calculates the area of a rectangle. To have more 17 00:00:54,271 --> 00:00:57,180 than one argument, you just need to separate the 18 00:00:57,181 --> 00:00:59,970 parameters with a comma. So parameter and 19 00:00:59,971 --> 00:01:04,500 arguments. A parameter is what we refer to these 20 00:01:04,501 --> 00:01:07,680 variables when we are defining the function. And 21 00:01:07,681 --> 00:01:10,650 when we call the function like here, we refer to 22 00:01:10,651 --> 00:01:15,779 them as arguments in the function call site, so to say. 23 00:01:15,780 --> 00:01:18,566 [Author typing] 24 00:01:18,600 --> 00:01:21,600 So return a * b, that will return the area 25 00:01:21,601 --> 00:01:26,340 for rectangle. And of course, when you call the 26 00:01:26,341 --> 00:01:32,820 function, you just pass the values for those arguments. 27 00:01:32,821 --> 00:01:39,133 [Author typing] 28 00:01:39,150 --> 00:01:41,749 And you get the value output correctly. 29 00:01:41,750 --> 00:01:45,100 [Outro sound]