 Hey, what's up guys root of the null here and today we're gonna be looking at even more Python I'm sure you guys are in love you are absolutely adorned Python You could sleep with the thing if you wanted to that's kind of weird don't ever sleep with snakes But no today we're looking at default function parameters like in the last tutorial You we were supplying some parameters or some arguments or some options to these functions And these like these systems and these methods that we were trying to run, you know so The thing is at one point in that video we got an error because we hadn't supplied the correct number of arguments So now we can try to avoid this by what by using what we call default parameters or Parameters that have a value if you don't supply one. So let's get idle started and I'll show you what I mean I Am actually going to be using the previous program that we just wrote with this So bear with me. It might be a little bit. I know it's not as in-depth since I'm not writing it all out again But it's it's this is a very very simple thing because all you have really have to do is in that list of Parameters Set one that you want to have an equals Like actually a sign of value to it. You can assign like a zero or anything to you do it now The thing is you can't have Default parameters anywhere else, but on the end you can have as many default parameters as you want Like but they should always be at the end of the list So number like name can't equal a default parameter while number has to equal something that would throw an error If we try it there's an error in default. Yeah There's an error in your program non-default argument follows default argument So see that's exactly what I mean if we did but actually if we tried to do both both of them default It should work perfectly fine Yeah, did it did it did it did it did it did it did it did it I'm just playing around at this point But yeah, what I'm trying to say though is We have we can get rid of name because I feel like I'm just gonna use number in this video But if we had what would Dylan say gif for some reason and Doug would say little Spell wrong because that's not even a word and Doug is number one the thing is if we had called these functions like Dylan 39 and then let's take out Doug Let's take out Doug's number because Doug is number zero apparently because that's what is going to be interpreted because we aren't supplying that last Argument it's going to use zero as the as that bit there So let's do a five and run it up. What would Dylan say her girgir Well and Dylan says her gir and Dylan is number 39, okay, so he's using that number that we've already supplied for him That's easy enough and what would Doug say Doug would say Why was Tigger in the toilet Doug says why was Tigger in the toilet and Doug is number zero awesome That's exactly what we want because it's we aren't supplying that last argument It'll just resort to this number equals zero, so we don't have to worry about it And I guess we don't really read that that name modifier anymore, so yeah, there we go That looks like all that you guys have to worry about in this video I know it was very quick, but there's not much to cover with this. It's a simple thing. You just add that little that little What is the name of that thing good God equal sign? Holy crap. I can't think anymore And but yeah, you just add a little equal sign and give it a value and you should be set But I thank you guys for watching to be awesome if you could give me a like maybe a comment maybe subscribe I don't know. It's it's it's up in the air, but let me make my voice crack whatever so But yeah, thank you guys for watching and I will see you in the next video