Hello All, 

I am trying to match python dictionary value. Here I store value in string type. When any new string is coming its check weather already string available in dictionary, if Yes then it will return string if not it will add the string into dictionary with key- numeric.

Dictionary=

{  

   "key1":  "String",

   "Key2": "String2"

}

Is there any best solution available for string matching?

More Dhaval Vaja's questions See All
Similar questions and discussions