Maybe you'll remember the len function and the isinstance function.
The len function takes only one
argument, and the isinstance functioniyou saw it takes two
arguments. You can also see that in the help
documentation, so obj, that's the only
argument that length takes.
[Author typing]
And if you look at
this isinstance, it will get objand class_or_tuple.
So functions needs 1 arguments, something
needs 2. Now these 2 functions were built in
Python functions. So the Python developers team
designed this functions. So how can we make our
own functions with multiple arguments? Pretty
easy. Let's say we want some area function that
calculates the area of a rectangle. To have more
than one argument, you just need to separate the
parameters with a comma. So parameter and
arguments. A parameter is what we refer to these
variables when we are defining the function. And
when we call the function like here, we refer to
them as arguments in the function call site, so to say.
[Author typing]
So return a * b, that will return the area
for rectangle. And of course, when you call the
function, you just pass the values for those arguments.
[Author typing]
And you get the value output correctly.
[Outro sound]