Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Computer Engineering Expert

Can someone tell me how I can update my script to fix the feedback I received from my professor? Here is the feedback

"Good start storing your car's input data in a dictionary, but you left out the estimated MPG. Good start successfully outputting your dictionary data for the car but you left out the estimated MPG."

Here is the code (in python) that I submitted

Car_Brand = input('Enter Car Brand: ')

Model = input('Enter Car Model: ' )

Year = input('Enter Year: ')

Starting_Odometer = input('Enter Starting Odometer Reading: ' )

Ending_odometer = input('Enter Ending Odometer Reading: ' )

Estimated_MPG_Consumed_by_Vehicle = input('Enter Estimated MPG Consumed by Vehicle: ' )

dict = {'Car Brand': Car_Brand,'Car Model':Model , 'Year': Year, 'Starting Odometer':Starting_Odometer, 'Ending Odometer':Ending_odometer, 'Estimated MPG consumed by Vehicle':Estimated_MPH_Consumed_by_Vehicle}

print(dict)

Any input would be helpful.

Computer Engineering, Engineering

  • Category:- Computer Engineering
  • Reference No.:- M92749165
  • Price:- $10

Priced at Now at $10, Verified Solution

Have any Question?


Related Questions in Computer Engineering

You work in a veterinarians office and need to organize the

You work in a Veterinarian's office and need to organize the data on pets that you treat. In your database, you want to keep track of the following information: Customer information: Name Address City State ZIP Phone # Y ...

We have recovered a flash drive with a password-protected

We have recovered a flash drive with a password-protected archive. Help decrypt it. What is the password used to encrypt the archive? It's a zip file, how do I get the password, what kali linux commands I use?

Write a program that takes as input an xy center value and

Write a program that takes as input an x,y center value and radii for two circles, draws them in a turtle (Python) window, and prints whether they intersect or not. You should show intersecting circles, and show non-inte ...

Question suppose we have the following conditions1

Question : Suppose we have the following conditions: 1) Frequency of floating point (FP) operations is 24%; 2) Average CPI of FP operations is 5.0; 3) Average CPI of other instructions is 1.40; 4) Frequency of floating p ...

The police lieutenant in charge of the traffic division

The police lieutenant in charge of the traffic division reviews the number of traffic citations issued by each of the police officers in his division. He finds that the mean number of citations written by each officer is ...

Question you have been recently promoted to lead a new

Question: You have been recently promoted to lead a new division of Company XYZ. This company is known for its team-oriented atmosphere, and your boss has raved about some of your natural leadership qualities. Your first ...

Determine whether or not the following claim is true for

Determine whether or not the following claim is true for all regular expressions r 1  and r 2 . The symbol ≡ stands for equivalence regular expressions in the sense that both expressions denote the same language.  (a) (r ...

The second programming project involves writing a program

The second programming project involves writing a program that accepts an arithmetic expression of unsigned integers in postfix notation and builds the arithmetic expression tree that represents that expression. From tha ...

What is the simplest way to understand hc03 in the

What is the simplest way to understand HC03 in the acid-base study of electrolytes?

Please discuss the design principles that guide the authors

Please discuss the design principles that guide the authors of instruction sets in making the right balance. Provide examples of application of each of the three design principles while designing instruction sets.

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As