If statement returning False in While True loop (Python)
If statement returning False in While True loop (Python) Question: I expected that in this If statement, the variable ‘i’ would increment until it eventually equals 10, and subsequently ‘if 10 < 10’ would return False, breaking my while loop. But this code seems print until 10 and then get stuck in an infinite loop …