The Upside-Down Grade Ladder — medium Python Fundamentals problem | Incognition