if statement is false, so nothing gets printed
Why do you think so? When i
is 19
, the if
-statement is false
, so it does not skip the iteration, and the print
in the next line is executed. When i
is 18
, the if
-statement is true
, so it is skipped to the next
iteration without executing the print
in the next line.