highscore = {'a':1, 'b':2, 'c':3, 'd':4, 'e':5, 'f':6, 'g':7, 'h':8, 'i':9, 'j':10}
To give context, I am making a game that has a scoreboard. After the game, if the player's score is higher than the highest value in the dictionary, the lowest value would be removed. The keys in this dictionary are example player names
For example, if a new player (who we will call 'L') scores 11 points, 'a' (with a score of 1) would be removed.
Any suggestions? I appreciate any and all suggestions, even negative ones