Below are the datafiles that you have been using so far, and will continue to use for the rest of the chapter.
The file below is travel_plans.txt.
The file below is school_prompt.txt.
The file below is emotion_words.txt.
The following sample file called studentdata.txt contains one line for each student in an imaginary class. The students name is the first thing on each line, followed by some exam scores. The number of scores might be different for each student.
Using the text file studentdata.txt write a program that prints out the names of students that have more than six quiz scores.
Create a list called destination using the data stored in travel_plans.txt. Each element of the list should contain a line from the file that lists a country and cities inside that country. Hint: each line that has this information also has a colon : in it.
Create a list called j_emotions that contains every word in emotion_words.txt that begins with the letter “j”.
© Copyright 2017 bradleymiller. Created using Runestone 3.4.4.