creating dictionary where value is key using comprehension

前端 未结 0 1537
鱼传尺愫
鱼传尺愫 2020-12-08 07:33

I\'m trying to generate a dictionary where value is a list using following dictionary of comprehension method.

>>> x = [\'a\',\'b\',\'c\']
>>&g         


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