Question: I need help please main.py Load defeut template 1 mileage - float (input ()) 2 cost = float (input ()) 3 4 cost_20_miles - round

I need help please
I need help please main.py Load defeut template 1 mileage - float
(input ()) 2 cost = float (input ()) 3 4 cost_20_miles -
round ( cost / mileage 20,2) 5 cost_75_miles = round ( cost

main.py Load defeut template 1 mileage - float (input ()) 2 cost = float (input ()) 3 4 cost_20_miles - round ( cost / mileage 20,2) 5 cost_75_miles = round ( cost / mileage 75,2) 6 cost_500_miles - round ( cost mileage =500,2) 7 8 print(f" { Cost_20_miles: 2f} fcost 75 miles: 2f } \{cost 500 miles:.2f }") Run your program as often as you'd lke, before submiting for grading, Below, type any needed input values in the first box, then click Run program and observe the program's output in the second box. zyBooks My library > CTI 110: Web, Programming, Database Foundation ... > 7.13: LAB: Driving costs File"",line1(cost75miles)SyntaxError:invalidsyntax Input Your output Your program produced no output Expected output 2:Compare output Your output Your program produced no output Expected output 7.13 LAB: Driving costs Driving is expensive. Write a program with a car's gas milage (miles/gallon) and the cost of gas (dollars/gallon) as flcating-point input, and output the gas cost for 20 miles, 75 miles, and 500 miles Output each floating-point value with two digits after the decimal point, which can be achieved as follows: print(f'\{your_value1: .2f\} \{your_value2:..2f\} \{your_vatue 3:.2f}} ) Ex if the input is: 20.03.1599 Where the gas mileage is 200 miles/gallon and the cost of gas is $3.1599/gallon the output is 3.1611.8579.00 Note: Real per-mile cost would aiso include maintenance and depreciation. LABACtiviry7.13:1.LAB:Drivingcosts main.py Lood default temelate 1 mileage = floot ( input ())

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!