Question: Part IV: The Double Cipher: Map Coordinates to Character (10 points) Write a function map.coords.to.char that takes one argument: filename, which is a file that

Part IV: The Double Cipher: Map Coordinates to Character (10 points) Write a function map.coords.to.char that takes one argument: filename, which is a file that will be used to build the second of two dictionaries for implementing the Double Cipher algorithm. The function maps coordinate positions in the 6 x 6 grid to characters. Each coordinate pair is represented as a tuple. For example, in the sample file from Part III, the the key (3, 4) wll map to the value T Examples: Function Call Return Value map.coords.to.char ("keyl.txt') See 'Mapping 1' below map.coords.to.char ('key2.txt' See Mapping 2' below map.coords-to-char(, key3.txt,) See , Mapping 3, below CSE 101 Fall 2017 Homework #4 Page 5 Mapping 1: (keyl.txt)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
