DEV Community

Arifa Chan
Arifa Chan

Posted on

Iterate phrase string through python dict that contains one...

I want to iterate some string from voice input through python dict that contains one, two or more word in key and add the strings to a list if exist in dict keys. I know how to add the string (voiceinput) to a new list (fruit_cart)…

Top comments (0)