Else with For Loop in Python
Else is executed only if For loop completes successfully. for i in range(5): print(i) # if i==3: # break else: print("No answer")
Hello World! This blog shares my coding journey, learning to program, and sharing at the same time what I learn.