Question: In [5]: ** Check with 70 Expected program output Please enter the speed --> 70 The distance the car will travel in 5 hours is

 In [5]: ** Check with 70 "Expected program output Please enter
the speed --> 70 The distance the car will travel in 5

In [5]: ** Check with 70 "Expected program output Please enter the speed --> 70 The distance the car will travel in 5 hours is 350 miles. The distance the car will travel in 8 hours is 560 miles. The distance the car will travel in 12 hours is 840 miles. ex2_5(): File "", line 9 ex2_5(): SyntaxError: invalid syntax 1: #step 1: Input speed speed input("Please enter the speed --> int (speed); #convert speed to a number #step 2: Process dl= speed 5 d2= speed * 8 d3- speed - 12 # The distance the car will travel in 5 hours. # The distance the car will travel in 8 hours. # The distance the car will travel in 12 hours. #step 3: Output print("The distance that car will travel in 5 is 811 miles" }(d)) print ("The distance that car will travel in 8 is $11 miles" }(d)) print("The distance that car will travel in 12 is #11 miles" (d)) Please enter the speed --> 70 The distance that car will travel in 5 is 350 miles The distance that car will travel in 8 is 560 miles The distance that car will travel in 12 is 840 miles 5): ## Check with 70 ***Expected program output Please enter the speed --> 70 The distance the car will travel in 5 hours is 350 miles. The distance the car will travel in 8 hours is 560 miles. The distance the car will travel in 12 hours is 840 miles. ex2_5(): Pile "cipython-input-5-0472265e5c90>", line 9 ex2_50) - SyntaxError: invalid syntax MacBook Air

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!