Python Exercise 1 - Apni Dictionary

Code file as described in the video

# Create a dictionary and take input from the user and return the meaning of the
# word from the dictionary



Comments(3)

SachinJ at 2019-06-23 09:30:09 says
Tharoor= { "snollygoster": "https://en.wiktionary.org/wiki/snollygoster", "rodomontade":"https://en.wiktionary.org/wiki/rodomontade", "puerile":"https://en.wiktionary.org/wiki/puerility", "farrago":"https://en.wikipedia.org/wiki/Farrago"} word=input("Select a word from the above dictionary ") print("Kindly go to the link, it will give you much more information than just meaning and synonyms of",word,"\n", "Here is the link: ", Tharoor.get(word))
pawan at 2019-06-23 09:30:09 says
d2 = {"Cause-and-effect diagram":"https://en.wikipedia.org/wiki/Ishikawa_diagram", "Check sheet":"https://en.wikipedia.org/wiki/Check_sheet", "Control chart":"https://en.wikipedia.org/wiki/Control_chart", "Histogram":"https://en.wikipedia.org/wiki/Histogram", "Pareto chart":"https://en.wikipedia.org/wiki/Pareto_chart", "Scatter diagram":"https://en.wikipedia.org/wiki/Scatter_plot", "Stratification":"https://en.wikipedia.org/wiki/Stratification"} print("Enter the QC Tool Name:") print(d2[input()])
white_devil at 2019-06-23 09:30:09 says
dict1 = {"Harry": "Programmer", "Priyanshu": "Py Learner", "Larry": "Js Learner", "Carry": "Android Developer"} print("Copy One Of The Name And Paste It") print("1) Harry", "2) Priyanshu", "3) Larry", "4) Carry") a = input() print(dict1[a])