I would like to ask how can I retrieve out the list of fibo list and then check whether does the input value by the user is inside the fibo list.
a , b = 1, 1
while num <= sys.maxint:
fibo == a , b = b, a+b
if num == (b +a+b):
print "It is a Fibonacci number"
break
else:
print "It is not a Fibonacci number"
break
Thank you!