Order matter and functions
before the order of function parameters is important.
For example if you have a function that has two parameters.
So when you call the function in the main program you need to type the two arguments.
If one of the arguments is left out in the function call the terminal will give you an error.
In brackets to show you how as you can see this or previous lecture code.
So if we take our audio in the second parameter in the first function call try an terminal now and see
what will happen.
Yes.
Did you see this error.
Because in the function definition has two parameters.
And in the first function call that we did has one argument which is John but there is a way to swab
the parameters to but the first name in the last name and the last name in the first name such as names
parentheses in name equal quotation marks John comma if name equal quotation marks no other function
call to swap Nancy and Markoe.
OK for a third function call names parentheses if name.
Watch out if name not the old name equal quotation marks Marya karma ill name equal quotation marks.
Of course after that.
Try that on terminal.
Wonderful as you can see the names of Dougall ready.
All right.
You need to do that by yourself and try on your computer.
Thanks for watching.