2070 / Python / Цикли

 

1.

x = "2070"

for i in x:
   print(i)

 

2.

x = 0

while x < 10:
   x = x + 1
   print(x)

 

3. 

break
continue