Ding Comes When? — medium Python Fundamentals problem | Incognition