Question: Create a program called gas _ calc.py , which asks the user 1 ) the number of miles they drove on a trip, 2 )
Create a program called gascalc.py which asks the user the number of miles they drove on a trip, the number of gallons of gas they used, and the price of gas per gallon. The program uses their input to figure out and display the cost of the trip & the miles per gallon MPG for the trip. See output format below.
Ongoing challenges: what goes into the py file comments, and what goes into your PDP document? Double check all standard requirements for the PDP & py file.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
