Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 17 additions & 4 deletions 2Exercise1Harry.py
Original file line number Diff line number Diff line change
@@ -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")