Which Ones Are Already Iterators
a = range(5)
b = (x for x in range(5))
c = [1, 2, 3]
d = enumerate(c)
Select all that apply: for which of a, b, c, d does next(obj) work directly, without first wrapping it in iter(obj)?
Sign in to answer questions and track your progress
Sign In