What is the use of yield in Python?

References

Help us improve this content by editing this page on GitHub