0
Size: a a a
0
0
ダ
ダ
ダ
0
ダ
ダ
0
0
0
GF
GF
GF
py3
x = 0
while True:
x += 1
print(x)
if x == 10:
print('stop cycle')
break
# лучше, конечно, так, просто ты сказал про while True именно:
x = 0
while x < 10:
x += 1
print(x)
print('stop cycle')
1
2
3
4
5
6
7
8
9
10
stop cycle
1
2
3
4
5
6
7
8
9
10
stop cycle
GF
GF
GF
GF