Question: Python: A De / Coder . Think back to 3 rd grade when you passed notes to friends in class. We can't let the teacher
Python: A DeCoder Think back to rd grade when you passed notes to friends in class. We can't let the teacher see what we're writing so we used a code. A B C etc. Or a "Caesar Cipher", look it up if needed!
Your job is to create a program which does the following:
Presents the user with a menu choice: encode or decode
Depending on what they chose you will either encode letters into numbers seperated by dashes or decode a series of numbers separated by dashes into letters.
For example:
"How are you?" would encode as
would decode as "How are you?"
Remember to use all the tools in your arsenal, especially mainline logic, functions, loops, and error handling.
Don't use chr or ord
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
