Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started