Design a python program solution that prints smiley and frowny faces until the user quits. The user
Fantastic news! We've Found the answer you've been seeking!
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
(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.
Related Book For
Andersons Business Law and the Legal Environment
ISBN: 978-0324786668
21st Edition
Authors: David p. twomey, Marianne moody Jennings
Posted Date: