Ad
  • Default User Avatar

    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}

  • Default User Avatar

    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) by return(number) at the end of your solution.

  • Default User Avatar

    Python
    ValueError: invalid literal for int() with base 10: ''
    why is this happening
    help me pls