From the documentation:
Loop statements may have an else
clause; it is executed when the loop terminates through exhaustion of the list (with for) or when the condition becomes false (with while), but not when the loop is terminated by a break statement.
Follow the link for an example how this can be used.