Ch 44 Fibonacci_seq jus for practice
# if u want to print not in another line if u want print in one line so use this code to one line in " " anything u want type here for i in range(1,11): def fibonacci_seq(n): # to take a number we define (n) a=0 # a=0 b=1#b=0 if n==1: pirint(a) elif n==2: print(a,b) else: print(a,b,end =" ") for i in range(n-2): c=a+b a=b b=c print(c,end =" ") user=input("enter a num") user=int(user) print(fibonacci_seq(user)) #this chapter is not so impo this chapter for juat prctice and improve coding skils print(i ,end =" ")