Working on High Scores...
I'm working on a function that seeks out where a high score should go in a text file. For some reason it loops until it gets to the highest number in the list. Here is the contents of "data.txt" and the problem code:
I just know it's something stupid but I've gone thru it too many times and just cannot figure it out. The problem is that "lowest" always is equal to 800 (the highest number in the list) no matter what the value of "money" is. Thanks for any help!