Blog Post #89: Making Arguments Optional with Default Parameter Values
In Post #87 and Post #88, we learned how to pass information to our functions using positional and keyword arguments. In all of our examples so far, every parameter we defined was required. If we defined a function with two parameters, we had to call it with two arguments, or the program would crash. But … Read more