Ad
  • Custom User Avatar

    I used the magic method repr and get lots of errors like '37/40 should equal 37/40'. Can somebody give my hint as to what is going on here?

  • Custom User Avatar

    Thanks! I will need some time to read this.

  • Custom User Avatar

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

  • Custom User Avatar

    Thanks! I didn't read the description well enough. Now I'm back to fixing bugs in my main code :)

  • Custom User Avatar

    I think there's an issue with the python version. My arrays are called a1 and a2 and I can't sort the second one. Locally it works but here, I get

    Traceback (most recent call last):
      File "main.py", line 21, in <module>
        test.assert_equals(comp(a1, a2), False)
      File "/home/codewarrior/solution.py", line 3, in comp
        a2.sort()
    AttributeError: 'NoneType' object has no attribute 'sort'
    
  • Custom User Avatar

    That makes sense, thanks!

  • Custom User Avatar

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