YUNOVA · Python programming · Module 19: Advanced Python

Python me generator aur yield

Notes for offline study · 30 November 2026

Python me generator aur yield

Key points

  • Generator एक-एक करके value देता है, सब एक साथ नहीं।
  • return की जगह yield लिखा जाता है और function वहीं रुक जाता है।
  • बड़े data में यह memory बचाता है।

Free on YUNOVA · yunova.in · Sign in to add your own lesson notes to this sheet.