Question: Use Python Create a function, cipher(message), to encrypt a message by substituting the letters of the English alphabet with numbers from 0-25 where 0 is
Use Python
Create a function, cipher(message), to encrypt a message by substituting the letters of the English alphabet with numbers from 0-25 where 0 is letter a and 25 is letter z. Your function should disregard the case and treat all letters as lowercase. Upon encrypting the message, return the encrypted message and write the results to a file called cipher.txt
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
