x = None
arr = [1, 2, 3]
arr = iter(arr)
try:
while True:
x = next(arr)
except StopIteration:
pass
print(x)
Post #1348
2.29K
Что выведет код?