fibnossi number using python

technical talkiess
1

 no = int(input("Enter the number"))

a = 0

b= 1

c = 0

i = 1

print(a)

print(b)

while(i<no):

    c = a+b

    a=b

    b=c

    i=i+1

    print(c)


print("Fibnocci numbre is :- " ,c)

Tags

Post a Comment

1Comments

Thanks you for commenting your questions. I will see question and respond you.

Post a Comment