Menu

Basic Python Questions Read Q2 And Q3 For Instructionusing File I/O And Then Using Dictionary Function

0 Comment

import random
#Part 2
#Return dictionary of synonyms
def getDictionary():
FILE_NAME=quot;python_asg10_Roget_Thesaurus.txtquot;
file_pointer = open(FILE_NAME,quot;rquot;)
#Read content of file…Engineering Technology