Conversation

Notices

  1. Python 3.6 dictionaries are order-preserving. I'm just wondering why there's no way to access dictionary items by index directly. When dictionary retains order, I would love to see it to be accessible just like a list. It would be quite logical.
    of course you can get keys() from dict, or items(), but I would think that's inefficient way, if I know I wont to access 5th item in dictionary.
    # # # # # # !python

    Sunday, 25-Dec-16 08:33:51 UTC from loadaverage.org