while-else.py
count=0 while count<5: if count ==1: break print(count) count+=1 else: print('If you exit with break, it will not be executed')
Recommended Posts