Journal Problem
Modify your program from Learning Journal Unit 7 to read dictionary items from a file and write the inverted dictionary to a file. You will need to decide on the following:
a) How to format each dictionary item as a text string in the input file.
b) How to covert each input string into a dictionary item.
c) How to format each item of your inverted dictionary as a text string in the output file.
Create an input file with your original three-or-more items and add at least three new items, for a total of at least six items.
Include the following in your Learning Journal submission:
a) The input file for your original dictionary (with at least six items).
b) The Python program to read from a file, invert the dictionary, and write to a different file.
c) The output file for your inverted dictionary.
d) A description of how you chose to encode the original dictionary and the inverted dictionary in text files.
The response should include a reference list. Using one-inch margins, Times New Roman 12 pnt font, double-space and APA style of writing and citations.
Attachment:- Python.rar