Untitled

                Never    
threshold = int(input("Enter upper threshold for fibonacci sequence: \n"))

#first = int(1)
#second = int(1)

#print(first)


#def fib_seq(first, second):
#    print(second)
#    temp = second
#    second = first + second
#    first = temp
#    return first,second

#while second < threshold:
#    fib_seq(first, second)

set[0] = int(1)
set[1] = int(1)

print(set[0])

def fib_seq(set[]):
    print(set[1])
    temp = set[1]
    set[1] = set[0] + temp
    set[0] = temp
    return set[]

while set[1] < threshold:
    fib_seq(set[])

Raw Text