PROGRAM :-
import math
a = int(input("Enter first number : "))
b = int(input("Enter second number : "))
n = int(input("Enter count : "))
print(a,b,end=' ')
for i in range(3,n+1):
c = a + b
print(c,end=' ')
a = b
b = c
import math
a = int(input("Enter first number : "))
b = int(input("Enter second number : "))
n = int(input("Enter count : "))
print(a,b,end=' ')
for i in range(3,n+1):
c = a + b
print(c,end=' ')
a = b
b = c
VIDEO LINK : -
No comments:
Post a Comment
Note: only a member of this blog may post a comment.