diff --git a/2Exercise1Harry.py b/2Exercise1Harry.py index 1a9566c..f87690f 100644 --- a/2Exercise1Harry.py +++ b/2Exercise1Harry.py @@ -1,4 +1,17 @@ -dict = {"a": "1st letter", "b": "2nd letter", "c": "3rd letter", "d": " 4th letter"} -#x = input("Ask something from dict:") -#print(dict[x]) -print(dict[input("Ask something from dict:")]) +print("Welecome to Dictionary") + +Dictionary = {"Supine":"Failing to act or protest as a result of moral weakness or indolence", + "Solitude":"The state or situation of being alone", + "Clinomania":" An excessive desire to remain in bed; morbid sleepiness.", + "Siesta":"A short sleep,Nap","ubiquitous":"omnipresent or appearing or found everywhere"} +Words = ("Supine","Soltitude","Clinomania","Siesta, ubiquitous") +print("Available Words") +print([Words]) + +print("Copy your word from the above list and paste it below") + +inpstr = input() +print(Dictionary[inpstr]) + +print( ) +print("Thank you for using my Dictionary")