Question: 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
Get step-by-step solutions from verified subject matter experts
