Question: in python easy level plz Gas Mileage - At 23,456 miles (on the odometer) the tank is filled. At 23,678 miles the tank is filled

in python easy level plz
Gas Mileage - At 23,456 miles (on the odometer) the tank is filled. At 23,678 miles the tank is filled again with 10 gallons. Write some lines of code to calculate the miles per gallon the car averaged between the two fillings? Make sure to use variables, display with units, and the last output should be rounded/set to three decimal places (see example output below). Save your code as lab1_5.py (5-pt). Example Output: Distance Traveled: 222 Miles Gallon Used: 10 Gallons How many miles per gallon did the car average between two fillings? Answer: 22.200 Miles/Gallon
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
