t182.py 76 B

1234
  1. def yrange(n):
  2. for i in range(n):
  3. yield i
  4. print list(yrange(5))