Python: post #2263828 — TG.ME

Nandu Baruisee from this a docs i found this, and the things is, when you say the fun which do yield somethings, this time it returns a value based on each time it call the fun, but the fun not executes, rather the loop works and return values one by one, like this in…
If i say its magic, would you belive me?
If so, just trust its magic and move on

If not, go learn and practice until you get it.
Its what context managers do (that with keyword)

You need to learn a lot more
Practice make perfect
August 25, 2026