5 lines
68 B
Python

def f():
yield from a
yield from (a, b)
yield from f(a)