n1 = 1
n2 = 1
n3 = n1 + n2
for i in range(10):
n1 + n2
print(n3)
n1 = n2
n2 = n3
According to what I know, this should be the simplest way of outputting the first 10 digits of the series, however, it prints 2 10 times. I don't understand why n1 doesn't get set to n2, and n2 doesn't get set to n3 after n3 has been printed.