Ad
  • Custom User Avatar

    I got this:

    Traceback (most recent call last):
    File "main.py", line 49, in
    tests()
    File "main.py", line 38, in tests
    testw[randint(0, 9)]=['n','s','w','e'][randint(0, 3)]
    IndexError: list assignment index out of range

  • Custom User Avatar

    Because in task was written to remove strings - not to keep only int.