Question: Design a python program solution that prints smiley and frowny faces until the user quits. The user should see a menu like this: (S)miley (F)rowny

Design a python program solution that prints smiley and frowny faces until the user quits.

The user should see a menu like this:

(S)miley

(F)rowny

(Q)uit

Make the algorithm print either:

A smiley face - :)
A frowny face - :(
or an error message - “Invalid choice”
depending on the users input (‘S’ for smiles, ‘F’ for frowns, ‘Q’ to quit. Once the appropriate printing has been done, display the menu again. When the user quits, print a farewell message.

The program should handle BOTH upper and lower case inputs.

Step by Step Solution

3.37 Rating (147 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

To design the Python program that meets your requirements well follow these steps Step 1 Handle User Input We will use a loop to continuously display ... View full answer

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 Programming Questions!