#try to avoid input function a = int(input("Enter any Number :")) b = 0 c = 1 for i in range(a): print(c) b,c = c,b+c
Click the run button. Try to avoid input() function.