fork download
  1. a = 1
  2. b = 1
  3. c = 0
  4. for i in range(1, 20):
  5. if a == 1:
  6. print(a)
  7. print(b)
  8. else:
  9. b = a
  10. a = a + b
  11. print(a)
  12.  
Success #stdin #stdout 0.09s 14200KB
stdin
Standard input is empty
stdout
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1