Which of the following keyword is necessary for defining a generator function?
- return
-yield
-generate
-iter
Answers
Answered by
2
Answer:
The yield keyword
BTW..MARK ME AS BRAINLLIEST....!
Similar questions