MCPcopy Create free account
hub / github.com/ndleah/python-mini-project / main

Function main

Dictionary/dictionary.py:93–101  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

91
92#main body of the program
93def main():
94
95 word = input("Enter the word you want to search: ")
96 output = translate(word, file)
97 if type(output) == list:
98 for item in output:
99 print(item)
100 else:
101 print(output)
102
103#setting default focus to main function
104if __name__ == "__main__":

Callers 1

dictionary.pyFile · 0.70

Calls 1

translateFunction · 0.85

Tested by

no test coverage detected