notas-tsfc/nats.py

7 lines
66 B
Python
Executable File

def nats(n):
yield n
yield from nats(n+1)
s=nats(1)