Ad
  • Custom User Avatar

    Well dang. I was unaware of the rotate function. Thanks for letting me know!

  • Custom User Avatar

    @poubr

    Yes, it's annoying when people think reading the troubleshooting is going to solve the problem when there is clearly a problem with the test itself. I'm glad you got something to work, though!

  • Custom User Avatar

    Hello!

    I'm getting an error that I believe has nothing to do with my code. The following is the error.

    Traceback (most recent call last):
    File "tests.py", line 2, in
    from solution import repeat_str
    ImportError: cannot import name 'repeat_str' from 'solution' (/workspace/default/solution.py)

  • Custom User Avatar

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

  • Custom User Avatar

    Randomness. There were only 7 tests to pass, so since it is a 50/50 shot, it would be expected to take 128 attempts before it returned the correct result for each test. Either this person got lucky, or this person is very patient.