Question: Create a python program that will display a variety of cheers for schools. Create a function named growl with a parameter num. Test your function

Create a python program that will display a variety of cheers for schools.

Create a function named growl with a parameter "num". Test your function by calling it from main with an argument of 10 that will display "Go Bears!" to the console 10 times.

Create a function named cheer with two parameters: num, chant. Test your function by calling it from main with an argument of 5 and a chant of "UCA". Your function must display "UCA" five times using the parameters.

Extra Credit: Create a function named mascot_cheer with three parameters: num, noise, and mascot. Your function will display the noise the mascot makes num times.

For example, when your function is called from main with num = 3 for a school, your function would display go bears three times. Your function call in main would be something like: mascot_cheer(3, "Go", "Bears"). If you use call it with num = 2 for Jacksonville State, you would see something like "squeak dolphins" twice (since their mascot is a Dolphin; you can make up the noise).

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!