I am trying to complete a college assignment, to save a dictionary to a text file. Here is the save function, using the same formula my instructor provided:
def saveData(