Solve problem "Dictionary of synonyms" online - Learn Python 3 - Snakify

Dictionary of synonyms


You are given a dictionary consisting of word pairs. Every word is a synonym the other word in its pair. All the words in the dictionary are different.

After the dictionary there's one more word given. Find a synonym for him.

Advertising by Google, may be based on your interests

In all the problems input the data using input() and print the result using print().