translator = input("Enter a japanese word: ")
japanese_to_english = {
"Konichiwa": "Hello",
"baka": "fool",
"gomen": "sorry",
"sugoi": "awesome",
}
from the code given above, when the user types a word which is inside the dictionary.. I want it to replace the words.. it there any short way of doing this .. Please let me know... Thank you!