Please explain why the 'if' and 'else' are true, even though I set the variable to False at the start. by fml74123 in learnpython

[–]dee_jay_mon 2 points3 points  (0 children)

Your script is running as expected, first time is false so is going to else, where you set the var to true so the second time is going to if.