Back to quizzes
Generators & Iterators Quiz
Java / Loops | Medium | 15 questions
Question 1 of 15
4 free questions left
What is a generator in Python?
A
function that returns an iterator
B
A type of list
C
A data structure
D
A module in Python