Hey I am trying to get a Fibonacci sequence to output with a single variable in the mix. normally if I was using 2 variables I would have it set up like this:
nmbr1 = nmbr2 = 1
while nmbr1 < 100:
nmbr1, nmbr2 = nmbr1 + nmbr2, nmbr1
print (nmbr1)
but how would I get it complete the sequence with only one variable in python?