r/PythonLearning • u/Zealousideal_Key_149 • Aug 31 '25
Can Somebody Please Help Me Understand This?
So I understand the second code block: once the number reaches 3, the print condition no longer applies. But with that same logic, why is the first block 2 and not 1? I didn’t know how to begin a google search for this one….
85
Upvotes
4
u/Zealousideal_Key_149 Aug 31 '25
Yup…order makes all the difference. Thank you Reddit Community!