Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started