# this is the fibonacci series by KV n = int(input("enter the last number :")) x = 1 while x < n+1: print(x) x = x+1