Project 2: A simple second projects for
working with lists and files.
Due: Sept
28th Sept 30th at 11:59pm
Summary:
In this project you will open a file, and print some but not all of the
contents.
Details:
For this project,
- First create a new project in pycharm
- Next get this sample text file, and put it
into your main folder for your project.
- I will use a similar but larger file to
test your project with
- open the file and read the whole thing in
- this file contains pretend student data, we want to show the student
ID and the GPA, but not the student name to comply with FERPA
guidelines.
- each line is in the format Student ID: Student Name: GPA
- so for each line in the file print out the student ID and the GPA part
while omitting the Student name part.
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. My github id is jsantore.
You can see directions for doing this here.