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

  Limitations of digital subscriber line

Part 1: What are some limitations of Digital subscriber line (DSL) technology? Part 2: What are some examples of improvements of asymmetric digital subscriber line 2 (ADSL2) beyond regular DSL?

  Relationship that exists between the root

Explain through program the relationship that exists between the root and other nodes present in node-tree?

  Example of an actual data warehouse

Find an example of an actual data warehouse. For this example, describe the content, purpose, user access methods, and sources of data (what on-line transaction processing [OLTP] databases feed data into the data warehouse) - (make sure that your ..

  Prepare for the final presentation to the pvss management

Prepare for the final presentation to the PVSS management team on your information systems audit, you want to ensure that they accept it and understand your role as the certifying agent.

  Problem regarding the participant in the project

Begin your response by describing your EAI scenario. Be sure to include your role or perspective on this project. Were you a participant in the project, a consumer of the project's result, or both?

  Highlighting the pros and cons from a network administrator

Create a 2- to 2.5-page table using Microsoft® Word highlighting the pros and cons from a network administrator's perspective, along with a use case description of the following:

  What is the order p of a b+-tree

What is the order p of a B+-tree?

  What are the different types of qa activities

What are the different types of QA activities? Do you know any classification other than the one described in this chapter based on how they deal with defects?

  What is a compiler and a source program

What is a compiler? What is a source program? What do you call a program that translates Java bytecode into machine language instructions?

  Understanding of the problem

The development of a work breakdown structure can be challenging. It requires a good understanding of the problem and a good understanding of the proposed.

  How many transistors are used in a 2-input cmos nano gate

(Hobbyists only.) Draw an equivalent circuit for a CMOS NANO gate using two single-pole, double-throw relays.

  Write a program that inputs one five-digit number

(Separating Digits in an Integer) Write a program that inputs one five-digit number, separates the number into its individual digits and prints.

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