Create A dictionary . Take input from the user and display its meaning.

Create A dictionary . Take input from the user and display its meaning.

Source code for python

print(" welcome to Dictionary ") dec={"set":"well define collection of uniform data. For more details refer www.dictionary.in " , "simple":"Easy to understand. For more details refer www.dictionary.in", "bore":"Make a hole or diameter of piston. For more details refer www.dictionary.in", "pedology":"Study os soil science. For more details refer www.dictionary.in", "lust":"sexual desier. For more details refer www.dictionary.in"} print("Enter the word to be searched") Sword=input() print(dec.get(Sword)) print("Thanks for using it")


Comments

Popular posts from this blog

Guess program in python

Calculator