Question: So keep getting a EOF error for line 1 and line 2. Have no idea why 301376.1830586.qx3zqy LAB ACTIVITY 2.14.1: LAB: Driving costs main.py 1

So keep getting a EOF error for line 1 and line 2.So keep getting a EOF error for line 1 and line 2. Have no idea why

301376.1830586.qx3zqy LAB ACTIVITY 2.14.1: LAB: Driving costs main.py 1 Miles_per_gallon = float(input()) 2 Cost_gas = float(input()) 3 4 5 6 cost_20 = ((20/ Miles_per_gallon) (Cost_gas)) 7 8 cost_75 = ((75 / Miles_per_gallon) * (Cost_gas)) * 9 10 cost_500 ((500 / Miles_per_gallon) * (Cost_gas)) 11 12 print('{:.2F}{:.2F}{:.2F}'.format(cost_20, cost_75, cost_500))

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!