Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write code using Python. Make sure that the code is well commented to explain what your steps are doing. Write a program that asks user

Write code using Python. Make sure that the code is well commented to explain what your steps are doing. Write a program that asks user to enter a number between 2 - 9. If the user enters any number that is not between 2 and 9 then you must give the message "Incorrect Input" and stop the program. If the number is between 2 and 9 then display tables of that number using a loop . The output should look like the example below.

Example: If the user enters 9 9 * 1 = 9 9 * 2 = 18 9 * 3 = 27 9 * 4 = 36 9 * 5 = 45 9 * 6 = 54 9 * 7 =63 9 * 8 =72 9 * 9 = 81 9 * 10 = 90

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

More Books

Students also viewed these Databases questions