How to strip letters off a string with numbers, so that it can be changed to int and sorted (python) : I am making a dice rolling game where the scores and players have to be stored in an array and then printed out in order as a scoreboard. I can do all of this but sorting the scoreboard. I have worked out that I need to strip the letters from the string (player1 37 to just 37). The current code that I'm using is `delchars = Player1.join(c for c in map(chr, range(256)) if not c.isalnum())` but it doesn't seem to be working, anyone know what to do