Search posts, tags, users, and pages
A python generator is basically a python function with a yield rather than a return keyword.
MergeMyPR
@Resa · Lagos, Nigeria
Developer, Writer, Other
I am a Software Engineer from Lagos, Nigeria.
Markdown supported · ⌘↵ to post
Oluwapelumi
This is very informative. In all my months of learning python, I haven't seen it like this (I mean the use of yield).
I am glad you found it informative.
Oluwapelumi
This is very informative. In all my months of learning python, I haven't seen it like this (I mean the use of yield).