Answer the question
In order to leave comments, you need to log in
Insidious Python generators?
numbers = range(10)
squares = (x * x for x in range(10))
fours = (x * x for x in squares)
zip(squares, fours)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question