# ---
# jupyter:
#   jupytext:
#     text_representation:
#       extension: .py
#       format_name: light
#       format_version: '1.5'
#       jupytext_version: 1.14.4
#   kernelspec:
#     display_name: Python 3
#     language: python
#     name: python3
# ---

# +
a = -1

b = 1

c = 0

c = a + b

num = int(input(" Enter Limit : "))

print(" Fibonacci Series Till ",num," Is")

while(c < num):
    
    print(" ",c,end = " ")
    
    a = b
    
    b = c
    
    c = a + b
# -



StarcoderdataJupyterScriptsDedupFiltered