How to make a dictionary in pycharm using python

 d1={"google":"browser","mouse":"hardware","pen":"kalam","phone":"chalbhashiyantram","harvard":"college","jee":"exam"}

print("enter your word")
word=input()
print("this word means",d1[word])
Above was a simple example of a dictionary made using python code.it can be added with more 
meanings if required or you can change the keys and their meanings and replace them with new 
one in the similar way the former were written.

Comments