The objective of this project is to create a solution combining multiple concepts that have been presented in class, building off of the previous concepts of loops, string manipulation, and lists, along with the addition of:
dictionaries
user defined functions
files
As with project 2, note that you should only use techniques we have covered in class. Using more advanced concepts does not help your understanding of the basics, and is a red flag that the code may not be your own work. In particular, you may NOT use the Python break, quit, exit, continue or any other programming convention to prematurely exit out of a loop or your program. A thorough understanding of loops requires that you are able to structure the loop control correctly without using break or other forced exit. Even though you may pass the test cases, use of any of these instructions will result in a 20% reduction in your your overall score. If you have questions about this as you work on your program, discuss it with your class assistants or with the course instructors.
Description
The main idea is that we are analyzing the mileage (miles per gallon, or mpg) of various models of car by country of the manufacturer. For example, I may want to look at the mpg for USA models vs. mpg for Japanese models. I also may want to print all of the models for a given country that are above or below some miles per gallon value. To accomplish this, we will have a menu of options the user can choose from, as described below.
The first thing your main program will need to do is prompt the user for a csv file name so that you can read in the data. Your prompt must be exactly Enter the filename: (with a newline following the colon). You will then read that csv file into the program and use that data in your analysis. Remember that even if you don’t know how to read in a data file yet, you can create the prompt and get the file name, then insert the code that reads the file in once you are ready to actually read the file. You do not have to worry about a user inputting an incorrect file name for purposes of this project.
Last Completed Projects
| topic title | academic level | Writer | delivered |
|---|
