demo_for_else.py:
for x in range(6): print(x) else: print("Finally finished!")
C:\Users\My Name>python demo_for_else.py
0
1
2
3
4
5
Finally finished!