Skip to content

Latest commit

 

History

History
13 lines (13 loc) · 323 Bytes

File metadata and controls

13 lines (13 loc) · 323 Bytes

a=int(input("Enter the terms")) f=0
s=1
if a<=0: print("The requested series is ",f) else: print(f,s,end=" ") for x in range(2,a): next=f+s
print(next,end=" ") f=s s=next