Question: hw3 part4.py (8 points) Ask the user for the number of inputs that you want them to enter. Then ask the user for that many
hw3 part4.py (8 points) Ask the user for the number of inputs that you want them to enter. Then ask the user for that many numbers (floats in general). Then create a multiplication table where you multiply x * y for each x and y in the list. Hint: you may have to use print(x * y, end="") to prevent newlines at some point. Also, print() will print a newline if you need one. linux [0] $ python3 hw3_part4.py How many elements do you want in your table? 3 Enter a number: 1.2 Enter a number: 5 Enter a number: 8.7 1.446 .0 10.44 6.0 25.0 43.5 10.44 43.5 75.68999999999998 linux [0] $ python3 hw3_part4.PY How many elements do you want in your table? 5 Enter a number: 3 Enter a number: 4 Enter a number: 5 Enter a number: 6 Enter a number: 7 9.0 12.0 15.0 18.0 21.0 12.0 16.0 20.0 24.0 28.0 15.0 20.0 25.0 30.0 35.0 18.0 24.0 24.0 30.0 36.0 21.0 28.0 35.0 42.0 42.0 49.0
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
