t184.py 133 B

123456789
  1. def yrange(n):
  2. for i in range(n):
  3. yield i
  4. def zrange(n):
  5. for y in yrange(n):
  6. yield y
  7. print list(zrange(5))