Input data in a dictionary

Assignment Help Basic Computer Science
Reference no: EM131910499

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.

Reference no: EM131910499

Questions Cloud

What is the value of the conversion option implied : Assuming that this advice is correct, what is the value of the conversion option implied?
Do you feel insecure or lost without your cell phone : Do you feel insecure or lost without your cell phone? Does your car start with a remote, keyless entry device?
Discuss any consensus or disagreement on the given topic : You discuss any consensus or disagreement on the topic. The discussion includes any strengths and weaknesses in general of the research area.
Financial difference among NCAA member institution : What difference in structure lead to financial difference among NCAA member institution?
Input data in a dictionary : Good start storing your car's input data in a dictionary, but you left out the estimated MPG.
Financial cycle that preceded the global financial crisis : Explain the role of the following factors in the upswing in the financial cycle that preceded the global financial crisis:
Standard shell on linux distributions : What are some reasons why bash is considered a defacto standard shell on Linux distributions?
Provide an overview of what issues you are expecting : Provide an overview of what issues you are expecting in the next 5-10 years and their human health and environmental implications.
Conduct a post-experiment interview with the participants : Conduct a post-experiment interview with the participants. Using descriptive language, how did each person feel during experiment one versus experiment two?

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Identifies the cost of computer

identifies the cost of computer components to configure a computer system (including all peripheral devices where needed) for use in one of the following four situations:

  Input devices

Compare how the gestures data is generated and represented for interpretation in each of the following input devices. In your comparison, consider the data formats (radio waves, electrical signal, sound, etc.), device drivers, operating systems suppo..

  Cores on computer systems

Assignment : Cores on Computer Systems:  Differentiate between multiprocessor systems and many-core systems in terms of power efficiency, cost benefit analysis, instructions processing efficiency, and packaging form factors.

  Prepare an annual budget in an excel spreadsheet

Prepare working solutions in Excel that will manage the annual budget

  Write a research paper in relation to a software design

Research paper in relation to a Software Design related topic

  Describe the forest, domain, ou, and trust configuration

Describe the forest, domain, OU, and trust configuration for Bluesky. Include a chart or diagram of the current configuration. Currently Bluesky has a single domain and default OU structure.

  Construct a truth table for the boolean expression

Construct a truth table for the Boolean expressions ABC + A'B'C' ABC + AB'C' + A'B'C' A(BC' + B'C)

  Evaluate the cost of materials

Evaluate the cost of materials

  The marie simulator

Depending on how comfortable you are with using the MARIE simulator after reading

  What is the main advantage of using master pages

What is the main advantage of using master pages. Explain the purpose and advantage of using styles.

  Describe the three fundamental models of distributed systems

Explain the two approaches to packet delivery by the network layer in Distributed Systems. Describe the three fundamental models of Distributed Systems

  Distinguish between caching and buffering

Distinguish between caching and buffering The failure model defines the ways in which failure may occur in order to provide an understanding of the effects of failure. Give one type of failure with a brief description of the failure

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd