Ad
  • Custom User Avatar

    Dictionaries are not ordered by insertion order before Python 3.6+. Instead, you can use collections.OrderedDict.

    Edit: I've enabled Python 3.6 now so your solution should work.

  • Custom User Avatar

    Its quite hard to help you if you don't post your code.

    Maybe you're using global variables somewhere