prog9_16.py

ejdic = {"apple": "りんご", "baby": "赤ん坊", "cask": "樽"}
while True:
    word = input("英単語?")
    if word == "":
        break
    meaning = ejdic[word]
    print(meaning)
print("終了!")

# プログラム9-16(英和辞典 ①)