Ad
  • Custom User Avatar
    Traceback (most recent call last):
      File "/workspace/default/.venv/lib/python3.11/site-packages/codewars_test/test_framework.py", line 112, in wrapper
        func()
      File "/workspace/default/tests.py", line 85, in random_tests
        rand = sample([x for x in c.__dict__.keys() if not str(x).startswith('__')], 1)[0]
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/usr/local/lib/python3.11/random.py", line 453, in sample
        raise ValueError("Sample larger than population or is negative")
    ValueError: Sample larger than population or is negative
    

    I got this error somehow

  • Custom User Avatar

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