Skip to main content
Print this chapter
yield
Keyword
yield keyword
The
yield
keyword is used to pause and resume a generator function.