Doubt in generators

How to know which value to yield ? in case of fib(), we used yield curr.
why was it so ?

Hello @ishabehera,

Can you be more specific about the question. Including the examples that you mentioned in the questions will be really helpful to address your doubts.

Also, mentioning the timestamp in the video where the question is raised will also be helpful.

Thanks