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)
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)
1Comments
Thanks you for commenting your questions. I will see question and respond you.
Post a Comment
fds
ReplyDelete