Computer Science, asked by alexhunter0829, 9 hours ago

Which of the following keyword is necessary for defining a generator function?

- return
-yield
-generate
-iter

Answers

Answered by PriyaRrani
2

Answer:

The yield keyword

BTW..MARK ME AS BRAINLLIEST....!

Similar questions