Same Output, Different Code — medium Python Fundamentals problem | Incognition