Код: Выделить всё
a = range(9)
for i in a:
print(i)
# Must be exhausted by now
for i in a:
print(i)
# It starts over!
Подробнее здесь: https://stackoverflow.com/questions/275 ... n-python-3
Код: Выделить всё
a = range(9)
for i in a:
print(i)
# Must be exhausted by now
for i in a:
print(i)
# It starts over!