Program to display the Fibonacci sequence up to n-th term where n is provided by the user
count = int(input("enter number of digits do you want to enter in series ")) n1 = 0 n2 = 1 print("\nfibonacci series is:") print(n1, ",", n2, end=", ") for i in range(2, count): next = n1 + n2 print(next, end=", ") n1 = n2 n2 = next
