We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4384945 + 939307e commit 09595faCopy full SHA for 09595fa
Python/Terminal_Dictionary/README.md
@@ -0,0 +1,8 @@
1
+## Terminal Dictionary
2
+- This script is made in python, which shows the multiple meanings of the input word.
3
+
4
+
5
+## Requirements:
6
+ pip install PyDictionary
7
8
+- It uses PyDictionary library.
Python/Terminal_Dictionary/dictionary.py
@@ -0,0 +1,21 @@
+#import requried Libraries
+from PyDictionary import PyDictionary
+#creating an object
+dictionary=PyDictionary()
+#input
+print("Enter the word")
9
+word=input()
10
11
+#creating an empty dictionary
12
+search=dict()
13
14
+#search
15
+search=dictionary.meaning(word)
16
+result=list(search.values())[0]
17
18
+#print the output
19
+print('Meaning of ',word,'is:')
20
+for meaning in result:
21
+ print("*" ,meaning)
Python/Terminal_Dictionary/img.jpeg
127 KB
0 commit comments