Ad
  • Default User Avatar

    Your code passess the tests with Python 3.6 but not with Python 3.4 which is set as default. I assume that you use Python >= 3.6 in IDLE, which has order-preserving dict type (see here). You have two options: 1) switch the Python version in CW (there's a dropdown), 2) change your code to not depend on order-preserving behavior.

    Regards,

    suic