Question: in python code please Task 2: Using an Optional Argument (Keyword) Functions often have default values for parameters. For example, the built-in print () function

in python code please
Task 2: Using an Optional Argument (Keyword) 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 vou set sep to something other than a single space. To create an optional argument, simply define on optional argument and set its default value. g other than a single space. To create an 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 1>go('Ducks') 2 Go Ducks! >>>go' Seahawks 4 Go SeahawkS! 6 Go Cougs
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
