<jupyter_start><jupyter_text>Loops<jupyter_code># FOR loop declaration using range method
for i in range(11):
    print(i)
# FOR loop declaration
for i in [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10]:
    print(i)
# WHILE loop - same semantics
j = 0
while j < 11:
    print(j)
    j = j + 1
# WHILE loop - another iteration make sure to have BREAK
while True:
    break
print(range(11))<jupyter_output>range(0, 11)
StarcoderdataJupyterStructuredCleanDedup