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
11 changes: 6 additions & 5 deletions exercise/dictionary.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
//for example
myword = {"centos": "Open source server distribution.",
"ubuntu": "Open source desktop distribution",
"redhat": "Propriatory OS.",
"arch": "Open Source desktop and client distribution."
}
"ubuntu": "Open source desktop distribution",
"redhat": "Propriatory OS.",
"arch": "Open Source desktop and client distribution."
}
print(myword.keys())
print("Check Keys name from above line.")
print("Enter your choice name:", end='')
tia1 = input()
print(myword[tia1])
print(myword[tia1])