How can I print a list as a dictionary?

后端 未结 0 1607
夕颜
夕颜 2020-12-03 07:28
my_list = ["str1","str2","str3"]

I am trying convert list to this form:

mydict= {\'str1\', \'str2\', \'         


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