retreive key based on matching value from list in dict python

后端 未结 0 1936
北海茫月
北海茫月 2021-01-05 11:56

suppose I have search values in a list as,

val = [\'CATEGORY_NAME\',\'CATEGORY_ID\']

and my dictionary

my_dict= {
    "PR         


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