fork download
  1. def fib(max):
  2. n, a, b = 0, 0, 1
  3. while n < max:
  4. print(b)
  5. a, b = b, a + b
  6. n = n + 1
  7. return 'done'
  8.  
Success #stdin #stdout 0.11s 14180KB
stdin
Standard input is empty
stdout
Standard output is empty