Home  >  Q&A  >  body text

dict - python字典排序后如何保持为字典类型?

阿神阿神2765 days ago881

reply all(1)I'll reply

  • 伊谢尔伦

    伊谢尔伦2017-04-17 16:35:54

    Python’s dict is unordered. If you need an ordered dictionary, use collections.OrderedDict.

    reply
    0
  • Cancelreply