The function rank_players(scores) takes a list of (name, score) tuples — already sorted highest to lowest — and returns a list of ranking strings like "1. Alice: 95", "2. Bob: 87".
The function runs without errors, but all the rank numbers are off by one. Every player shows rank 0, 1, 2... instead of 1, 2, 3.
One small parameter change is all it takes.