MCQs > IT & Programming > Python > When is the 'yield' keyword used in Python?

Python MCQs

When is the "yield" keyword used in Python?

Answer

Correct Answer: When a function needs to return a list that only needs to be read through once

Explanation:

Note: This Question is unanswered, help us to find answer for this one

Python Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

Python Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it