Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed
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

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

DB2 Universal Database V7.1 Application Development Certification Guide

Authors: Steve Sanyal, David Martineau, Kevin Gashyna, Michael Kyprianou

1st Edition

0130913677, 978-0130913678

More Books

Students also viewed these Databases questions

Question

i need correct answrrs 4 2 .

Answered: 1 week ago