Ad
  • Default User Avatar

    No I tested different numbers, because I haven't noticed test numbers... I tested 5, 27, 9, 25, 81, and few similar examples and they all worked correct and now actually tried with -1 and there is a bug, thanks.

    At the end I can say that there was only one exception for -1 and the rest works correct... Thanks for your answer, I finally solved!

  • Default User Avatar

    Sorry about that issue mark, I'm first time here.

    As I understood problem is that here interpreter shows kind of mistake which never happens at least with my local Python interpreter.

  • Default User Avatar

    This comment is hidden because it contains spoiler information about the solution