I’m working on a program that will calculate fibonacci numbers with certain digit limitations (i.e. first fibonacci number with 100 digits). The code I have below overall is running, but I am hitting a logical error that has me stumped. The goal of the code is to calculate Fibonacci numbers in a fashion similar to […]

- Tags ..., 0, 1, 1] ... but after it hits the [..., 1] loop it moves on to [..., 10, 2, 20, 3, 30, 50, 80, but I am hitting a logical error that has me stumped. The goal of the code is to calculate Fibonacci numbers in a fashion similar to binary, but it gets off between 13 and 21 because of the way the loop is handled. It adds the number sin the 10's place together and then saves a 31, each element is to hold a digit from 0 - 9, I'm working on a program that will calculate fibonacci numbers with certain digit limitations (i.e. first fibonacci number with 100 digits)., len(num2)): carry = num2[len(num2) - count] + num1[len(num1) - count] if carry > 9: num2[len(num2)- (count + 1)], so each array index represents a 10's place. It starts working and looping through fine