From b2526f3d74477dfa50574dd2099c43ca7dce5ef5 Mon Sep 17 00:00:00 2001 From: Mayank2001kh <72145584+Mayank2001kh@users.noreply.github.com> Date: Thu, 1 Oct 2020 00:29:13 +0530 Subject: [PATCH] Update dictionary.py --- exercise/dictionary.py | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/exercise/dictionary.py b/exercise/dictionary.py index 0fe7ec6..7d0c779 100644 --- a/exercise/dictionary.py +++ b/exercise/dictionary.py @@ -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]) \ No newline at end of file +print(myword[tia1])