Python Generators с для
for i in generador():
print(i)
# Salida: 1, 2, 3
Annoyed Armadillo
for i in generador():
print(i)
# Salida: 1, 2, 3