spock
6/11/2017 - 11:26 AM

For else loop

For else loop

for i in range(10):
    if i == 11:
        break
else:  # if no break occured
    print("11 not reached")