Re: [Tutor] Python Programming for the Absolute Beginner - Chap 7 Q: 2

2013-08-12 Thread Alan Gauld
On 12/08/13 01:52, Zack Hasanov wrote: I have the following code so far: def high_score(): high_scores = [] name = input("What is your name? ") player_score = int(input("What is your score? ")) entry = (name, player_score) high_scores.append(entry) high_scores.sor

[Tutor] Python Programming for the Absolute Beginner - Chap 7 Q: 2

2013-08-12 Thread Zack Hasanov
Hello, I am a python newbie. I am reading this book (Python Programming for the Absolute Beginner). I am on Chapter 7, Question 2. "Improve the Trivia Challenge game so that it maintains a high-scores list in a file. The program should record the player's name and score. Store the high