ITS320 Module 2 Option 2 Creating a Python Application using dictionary



Option #2: Creating a Python Application
Assignment Instructions
Develop a Python application that incorporates using appropriate data types and provides program output in a logical manner. Your program should prompt a user to enter a car brand, model, year, starting odometer reading, an ending odometer reading, and the estimated miles per gallon consumed by the vehicle. Store your data in a dictionary and print out the contents of the dictionary.
Assignment Submission Instructions:
Submit a text file containing your Python code into the Module 2 drop box. Name your file
ITS 320 Module 2 Option 2
The solution includes source code and screenshot.
Attachments [Move over files to preview content of those files] (23.10 KB)
xx __xxxx__ == “__xxxx__”:
x = {}
xxxxx(“xxxxx xxxx xxx xxxxx:”)
xxxxx = xxxxx()
x[‘xxxxx’] = xxxxx
print(“Input your car model:”) model = input() d[‘model’] = model print(“Input your car year:”) year = input() d[‘year’] = year print(“Input your car starting odometer reading:”)
xxxxx_xxx = xxxxx()
x[‘xxxxx_xxx’] = xxxxx_xxx
xxxxx(“xxxxx xxxx xxx xxxxxx xxxxxxxx xxxxxxx:”)
xxx_xxx = xxxxx()
x[‘xxx_xxx’] = xxx_xxx
xxxxx(“xxxxx xxxx xxxxxxxxx xxxxx xxx xxxxxx xxxxxxxx xx xxxx xxx:”)
Price: $9
Buy Now
Added to cart
Add to Cart
Added to cart
Note: We offer a discount for buyers who purchase multiple items.
You May Also Like:
ITS320 Module 1 Option 1 Create a Python Application that outputs mouse
ITS320 Module 1 Option 2 Create a Python Application that read two integers and print two lines
ITS320 Module 2 Option 1 Creating a Python Application for string validation
ITS320 Module 3 Option 1 Creating a Program to Calculate the Value of a Ferrari
ITS320 Module 3 Option 2 : Creating a Program to Calculate Weekly Average Tax Withholding
ITS320 Module 4 Option 1 Repetition Control Structure – Five Floating Point Numbers
ITS320 Module 4 Option 2 Repetition Control Structure – Grade Statistics


There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.