'''
this will print all the nubers that are less than 5 from the list
'''
a = [1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89]
b = []
print(a[:])
for i in a:
    if i <=10:
        b.append(i)

    else:
        break

number = int(input('enter a max number'))
for i in a[:]:
    if a[i] <= number:
        print(a[i])
    else:
        break
print(b[:])
5f9b91f2704961ba36d06c9cfcd2752eda0525a7
<mask token>

<mask token>
print(a[:])
for i in a:
    if i <= 10:
        b.append(i)
    else:
        break
<mask token>
for i in a[:]:
    if a[i] <= number:
        print(a[i])
    else:
        break
print(b[:])

<mask token>
a = [1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89]
b = []
print(a[:])
for i in a:
    if i <= 10:
        b.append(i)
    else:
        break
number = int(input('enter a max number'))
for i in a[:]:
    if a[i] <= number:
        print(a[i])
    else:
        break
print(b[:])

'''
this will print all the nubers that are less than 5 from the list
'''
a = [1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89]
b = []
print(a[:])
for i in a:
    if i <=10:
        b.append(i)

    else:
        break

number = int(input('enter a max number'))
for i in a[:]:
    if a[i] <= number:
        print(a[i])
    else:
        break
print(b[:])