multiple key value pairs in dict comprehension

前端 未结 0 1693
伪装坚强ぢ
伪装坚强ぢ 2021-02-12 04:52

I am trying to create multiple key : value pairs in a dict comprehension like this:

{\'ID\': (e[0]), \'post_author\': (e[1]) for e in wp_users}

相关标签:
回答
  • 消灭零回复
提交回复
热议问题