Good start storing your cars input data in a dictionary but


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.

Solution Preview :

Prepared by a verified Expert
Basic Computer Science: Good start storing your cars input data in a dictionary but
Reference No:- TGS02705981

Now Priced at $10 (50% Discount)

Recommended (99%)

Rated (4.3/5)