Program - Fibonacci series up to 100


Topic: Program - Fibonacci series up to 100

Solution

n = 100
result = []
a, b = 0 , 1
while b < n:
  result. append( b)
  a, b = b, a + b
final = result
print(f"Fibonacci series up to 100:{final}")



List all Python Programs