Aug-18-2020, 03:04 PM
Did you mean to code a while/else loop, or did you mean to have the else tied to the if statement?
Also, nitpicking,
Also, nitpicking,
if flag == Trueis redundant. You can just say
if flag: