I am having a hard time understanding why the output of this Python code is 1. Just to add, I am just new to programming:
What is the output of the following snippet: