Nov-24-2018, 08:57 PM
f=[1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89] for i in range (9999): f.append(f[-1]+f[-2]) user_input=input() while user_input!="END": user_input=int(user_input) print (f[user_input-1]) user_input=input()I actually removed the wrongfuly placed 9 there. Got it working