Project 2: A simple second project for
working with lists and files.
Due:
Sept 25th at 11:59pm
Summary:
In this project you will open a file, and use some but not all of the
contents.
Details:
For this project,
- First create a new project in pycharm
- Next get this sample text file, (which is a
small version of a file I got from kaggle
on video game sales) and put it into your main folder for your
project.
- I will use a similar but larger file to
test your project
- open the file and read the whole thing in
- this file contains video game sales data for some of the most widely
selling video games in history.
- each line is in the format that you can see at the top of the file.
- Feel free to remove the top
line in your copy of the file if that makes this project easier to
do.
- for each game print the name of the game and the average number of
copies sold per year since release (of course most copies were sold
early on, but we will just look at the total number of years since
release till now. Be sure to include sales from three included
regions (USE NA, EU and JP regions).
Hints:
for this you likely want to use the string split, f-strings, for-each
through a list etc.
Of course put this into git and onto github sooner rather than later.
Submission:
As with the previous project, to submit
the project to me, share it with me on github (including your
copy of the text file). My github id is jsantore. You can see
directions for doing this here.