Theme Park Ticket — medium Python Fundamentals problem | Incognition