•Reads the Morse code values from the file and puts them in a list. Each line of the file contains a Morse code, an asterisk (*) and a character that matches with the Morse code. For example, ----.*9...

•Reads the Morse code values from the file and puts them in a list. Each line of the file contains a Morse code, an asterisk (*) and a character that matches with the Morse code.

For example, ----.*9 means that ----. is the Morse code for 9 with the * as the delimiter (separator). You will need to split each line and store the result in either parallel lists or a dictionary with the character (9 in the example) as he key and the Morse code as the value.
•Reads text from a file (you create the file; it must contain at least 5 lines of text)
•Using the Morse code list (or dictionary), display the text file as Morse code
•Save the Morse code message to a separate file
Dec 03, 2019
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here