Ad
  • Custom User Avatar

    It is about the way you're creating OrderedDict's.

    OrderedDict is a dictionary where keys maintain the order in which they are inserted.
    That means, you have to create OrderedDict, by giving it keys in the order you want them to stay.
    Try to use for loop to do this.

    When you solve this, rest of your code should be working with Python 2.7.6.
    No Issue in this case.

    Godspeed mate!

  • Custom User Avatar

    Yeah i see it now.

    Finally I succeesed to submit my solution.
    It is not so obvious when you cant see expected output.

    I really lost some hairs on this one!
    Thanks mate!

  • Custom User Avatar

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