7 lines
66 B
Python
7 lines
66 B
Python
|
def nats(n):
|
||
|
yield n
|
||
|
yield from nats(n+1)
|
||
|
|
||
|
s=nats(1)
|
||
|
|