Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Python 8. Define and call a function named shoutIt(). This function should display a phrase in ALL CAPS with ! concatenated at the end. Initialize

Python 8. Define and call a function named shoutIt(). This function should display a phrase in ALL CAPS with ! concatenated at the end. Initialize a variable myPhrase and assign it a short phrase of your choice (example: extra toppings, please). Example output: EXTRA TOPPINGS, PLEASE! 10. Write the code to define and call a function using a variable as the argument: Define a function screamThis Get user input() for the string variable wordsToYell Call screamThis function with wordsToYell variable as the argument Display output in all caps with ! concatenated at the end Example output: DONT BURN MY MARSHMALLOW! 11. Write the code using the print() function to insert a blank line after the previous code. 12. Copy the code from the screamThis function above and revise it (add one line, edit one line) so the function will include a default argument (a string of your choice). Place this line of code as the last line.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

The Manga Guide To Databases

Authors: Mana Takahashi, Shoko Azuma, Co Ltd Trend

1st Edition

1593271905, 978-1593271909

More Books

Students also viewed these Databases questions

Question

In what settings can metamorphic core complexes form?

Answered: 1 week ago