feat(solution): problem #25

main
steven 2023-08-01 13:50:07 -04:00
parent f3af320c66
commit f24722d42b
1 changed files with 14 additions and 0 deletions

View File

@ -0,0 +1,14 @@
previous = 0
current = 1
upcoming = 1
index = 1
while(True):
if len(str(current)) >= 1000:
break;
upcoming = previous + current
previous = current
current = upcoming
index += 1
print("index", index)