keep highest value of duplicate keys in dicts
问题 For school i am writing a small program for a rankinglist for a game. I am using dicts for this, with the name of the player as keyname, and the score as keyvalue. there will be 10 games, and each game will have an automatic ranking system which i print to file. ive already managed to code the ranking system, but now im facing a bigger challange which i cannot solve: I have to make an overall ranking, which means someplayername can be in several contests with several scores, but i need to