Question
Assignment # 4: Display a random proverb Please Use pythone to make the code Create an application that outputs a proverb upon request. Find 7
Assignment # 4: Display a random proverb
Please Use pythone to make the code
Create an application that outputs a proverb upon request.
Find 7 proverbs, wise sayings, or quotes
Store your proverbs in an if-elif-else decision structure (see below)
Your application should locate the corresponding proverb
Print the proverb and its explanation to the screen, each on a separate line.
Write a welcome message that greets the user and explains how the program works
Ask your user to enter a positive integer.
Echo back the users choice for example, You entered 93
Use %7 to convert the integer to a number between 1 and 7 (see pages 8-9 above and page 22 in our text)
Use try-except to protect against bad input.
Try-except can be added after the rest of your program is working.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started