How Optional Arguments Work
Now, we put in the optional argument of 1.
Creating Optional ArgumentsLet's get back to actually creating optional arguments in our functions. You will notice that the easiest and best way to create optional arguments is to put them at the end of the argument list. Sometimes you might want two optional arguments where only one has to be required. However, that is much more complicated and outside the scope of this simple tutorial.
Try testing your code with the code simulator!
Let's move on to some more tutorials or the next section!