Report question

Question: How does this function with a "yield" work in detail?