Generator

Bosqichma-bosqich qiymat beruvchiPython

Misol

def numbers():
    yield 1
    yield 2
Barcha atamalar