I was trying to write a program for Fibonacci as is described on wikipedia and the problem that I am facing is that no matter how big I keep the limit it says to be overflowing.
I have tried keeping it unlimited but still the same problem arises.
print "This program will compute nth Fibonacci"
print "number where n is a value input by the user. "
x = input("Enter the nth Fibonacci number: ")
s = 1
for i in range(x):
s = s + x
s = s + 1
print "The result is:", s