13
What is the output of the following code?
g = (x * 2 for x in range(3))
print(next(g), next(g))Easy
What is the output of the following code?
g = (x * 2 for x in range(3))
print(next(g), next(g))Log in to join the discussion.