For...Loop

Run Settings
LanguagePython
Language Version
Run Command
for x in range(5): print(x) print("-------") for x in range(0,5,2): print(x) print("-------") for x in range(0,5,2): print(x) x=9 print(x) print("-------") x=100 for x in range(5,0,-2): print(x) x=9 print(x) print("-------") x=100 for y in range(10): for x in range(5,0,-2): print(y,x) if x==3: break break print("-------") x=100 while True: for y in range(10): for x in range(5,0,-2): print(y,x) if x==3: break break break print("-------") x= 100 while True: for y in range(10): for x in range(5,0,-2): if x==3: continue print(y,x) break break print("-------") x= [1,2,3] while True: for y in range(10): for x in list(x): if x==3: continue print(y,x) break break
Editor Settings
Theme
Key bindings
Full width
Lines