Having troubles with list methods

2013-08-01 Thread Adam Sweiger
The code: pastebin.com/MyrLB704

I'm working on this program in my Python book, and for some reason it doesn't 
seem to be working.

I've read my code, it seems fine to me. Here's what the book says:

The High Scores program uses list methods to create and maintain a list of the 
user's best scores for a computer game. The program uses a simple, menu-driven 
interface. The user has a few choices. He or she can add a new score, delete a 
score, sort the scores, or quit the program.

When I run my code, it just keeps printing the same thing infinitely.

Any help?
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Having troubles with list methods

2013-08-01 Thread Adam Sweiger
On Thursday, August 1, 2013 8:11:42 PM UTC-5, Sam Whitehead wrote:
> Your indentation is such that the first print statement is the only thing 
> inside the while loop.

I corrected the indentation and it works perfectly now. Thanks.
-- 
http://mail.python.org/mailman/listinfo/python-list