a = 1b = 1c = 0print(a)print(b)for i in range(1, 20): c = a+b b = a a = c print(c)
Standard input is empty
1 1 2 3 5 8 13 21 34 55 89 144 233 377 610 987 1597 2584 4181 6765 10946
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!