While loop 2

Run Settings
LanguagePython
Language Version
Run Command
x=10 while x> 0: while x>5: x=x-1 #controller, otherwise 無限loop if x%2:# %:Remainder, 餘數 continue print(x) if x==4: break #end/exit loop x=-1 else: print("This line will run when while loop is false.")
Editor Settings
Theme
Key bindings
Full width
Lines