184k views
3 votes
Write a program that asks the user the speed of a vehicle (in miles per hour) and how many hours it has traveled. The program will display the total distance traveled at the end of each hour of the period.

Make sure to valid data entry - negative numbers are not acceptable. (Python)

Write a program that asks the user the speed of a vehicle (in miles per hour) and-example-1

1 Answer

4 votes

Answer:

are you learning or its some test you want cheat?

i can help but if you want to learn it code it yourself

User Yshmarov
by
6.4k points