a = 1b = 1c = 0for i in range(1, 20): if a == 1: print(a) print(b) else: b = a a = a + b print(a)
Standard input is empty
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
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!