how can I make dictionary with two lists in number of all cases?

前端 未结 0 1912
醉梦人生
醉梦人生 2020-12-18 13:19

I want to make dictionary with two lists but want to make dictionary in all cases. for example,

list1 = [a,b,c]
list2 = [up,down]


# output
dic1 = [a:up, b:u         


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