Ad
  • Custom User Avatar

    Backup your code, click Reset, paste it and try again. Also, make sure your function's name is rps.

  • Custom User Avatar

    There is an error in the python language in the tests:

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

  • Custom User Avatar

    There is a flaw in your code, it doesn't reduce duplicates correctly. See the error message for test 'AA':

    should reduce duplicates
    Log
    [] should equal ['A']
    

    note: 53,566 solves in Python

  • Custom User Avatar

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