Ad
  • Default User Avatar

    you're forgetting when n is equal to 1. There's a simpler mathematical solution.
    I gave my answer with one for loop and two if statements.

  • Custom User Avatar

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

  • Custom User Avatar

    I think that
    test.it("A voice in the background: \"We finally found the list and dictionary! The list reads: " + str(array) + " while the dictionary reads " + str(dictionary) + ". What I have just said is" + str(finished) + "\"")
    should be
    test.it("A voice in the background: \"We finally found the list and dictionary! The list reads: " + str(array) + " while the dictionary reads " + str(dictionary) + ". What I have just said is " + str(finished) + "\"")
    as my output currently gives me ...What I have just said isTrue

  • Custom User Avatar

    Okay, Thank you!

  • Custom User Avatar

    Your code is too slow, that's not a kata issue, look for a faster algorithm.

  • Custom User Avatar

    I got this error too, idk why.

  • Custom User Avatar

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