n = 100fib = [0 for _ in range(n)]fib[0] = 1fib[1] = 1for i in range(2,n): fib[i]=fib[i-1]+fib[i-2]print(fib[-1])
Standard input is empty
354224848179261915075
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!