Question: Develop a console application using Python programming language (and obviously Linux UBUNTU machine provided) with the following specifications: This application is mainly to determine the

Develop a console application using Python programming language (and obviously Linux UBUNTU machine provided) with the following specifications:

  • This application is mainly to determine the fuel efficiency of your car.
  • The application will ask the user’s name. It will greet the user by the name entered and provide an appropriate welcome message.
  • It will then ask for the make, model, and year of the car.
  • It will then ask for number of kms driven for a given trip.
  • It will then ask for litres of gas used for the trip.
  • It will then ask cost of gas per litres.
  • It will then display the fuel efficiency (kms/litre) of the car referring to the make, model, and year of the car, total gas cost for the trip, and cost per km for the said trip.
  • It will then ask if the user wants to enter data for another trip or not. If answered yes, it will repeat the interaction; if answered no, the application will terminate with a proper good bye message.

Step by Step Solution

3.52 Rating (159 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

To develop a console application using Python on an Ubuntu machine that calculates a cars fuel efficiency follow these steps Step 1 Set Up Your Develo... View full answer

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 Programming Questions!