Question: Functions often have default values for parameters. For example, the built-in print () function has a default value of a single space for sep. Whenver

Functions often have default values for parameters. For example, the built-in print () function has a default value of a single space for sep. Whenver you use the print () function, it will use a space between variables unless you set sep to something other than a single space. To create an optional argument, simply define on optional argument and set its default value Write a function called go ) that takes a single optional argument called name. The default value for name should be ' Cougs'. In the IDLE Shell window, the output would look like the following: >>>go ('Ducks') 2 Go Ducks! 3 >>> go(, Seahawks') 4 Go Seahawks! Go Cougs
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
