Create a High-Scores List (Challenge)
00:00 It’s time for the challenge that I promised you at the beginning of this course. The challenge is a bit more involved than the individual review exercises you’ve gone through so far because it requires combining all the pieces together in a single program. You’ll start by reading a CSV file with player scores, which you can find in the supporting materials.
00:21 Alternatively, you can create the CSV file yourself and copy the expected content from the slide you are currently seeing.
00:29 Notice that some player names appear multiple times in the file. That’s because the rows correspond to the players’ performance in a given game.
00:39 Your goal is to determine the top score of every player and save it to another CSV file where each row contains the player’s name and their highest score.
00:50 How you want to represent those scores in Python is up to you. Use what you learned in this course to store and manipulate the CSV data most effectively.
01:01 Over the next few lessons, we’ll tackle this challenge together, but please try to solve it on your own first.
Become a Member to join the conversation.