Question: in python Problem 7 (Multiplication Tables) Write a program that asks the user for a number from 1 to 9 and displays a well-formatted multiplication
in python
Problem 7 (Multiplication Tables) Write a program that asks the user for a number from 1 to 9 and displays a well-formatted multiplication table of all numbers up to the user's input. Your solution should not hard- code the entire table in print statements, but rather, use nested loops to print each number based on the user's input. Page 5 of 6 Sample Outputs: Enter a number (1-9): 9 1 2 3 4 5 6 7 - 6 2 2 31 3 41 4 8 8 16 24 32 --- 5 10 15 20 4 8 12 16 4 6 8 9 9 18 27 36 6 12 18 24 7 14 21 28 9 12
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
