Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
I just solved a more complex kata from the same person, where brute force cannot be solved. I found out that the sequence of the last digits of fibodanachi numbers is periodic and it is equal to 60, that is, after 60 numbers, the last digits again come to {1,1}
Your approach needs some debugging as it's not 100% correct yet, but this current mistake is probably due to the fact that you are not returning anything - replace
print(number)
byreturn(number)
at the end of your solution.Python
ValueError: invalid literal for int() with base 10: ''
why is this happening
help me pls