What is the purpose of an else: clause in a While block? Can't the code just be placed outside the While?
While True: #do stuff else: #continue with the program
Isn't this the same thing?
While True: #do stuff #continue with the program
If the statements in the else block were placed outside of the else block, they would run regardless of the while loop state.
If you had an action you wanted to perform based on the end state of the while loop, ie. as soon as the while loop was complete, put it in the else -- imagine the else as the end tag on the while.
Note that the else will only run when the while condition becomes false, and will not run if you exit the while loop with a break or return.