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 that.
Test case 1:
WordPair={“Namaskar”:”Vannakam”,”Hello”: “HI”, ”Bye”: ”Good
Bye”,”beep”:”car”,”List”:”Array”,}
Input:
Enter the word: Bye
Output:
The synonym is : Good Bye
what is the python program to get the above Output?
Answers
Answered by
2
Answer:
[tex]\huge{\bf{\underline{\red{Answer:}}}}[ /tex]
Similar questions