In this project we will be making a program to use the Caesar cipher to help encode or decode messages.
In this project you will be using some more advanced Python concepts such as conditional statements (if and elif) as well as functions. As a result, this challenge is designed for coders aged 10-12 with some experience coding in Python.
During this challenge you will learn the functionality of the previous mentioned Python concepts and how to use them in a program.
Make sure to play around with the code to see how things work.
What is the caesar cipher?
The caesar cipher is an encryption technique where you take the letters in the alphabet and shift or move them over by a certain amount.
What you’ll build
In this project, you’re going to build a program to encode or decode messages with or without the shift amount. You will ask if they wish to encode or decode, get the message and the shift amount if they have it. Your code should:
- Be efficient
- Be easy to use for someone with little to no Python knowledge
- Follow the coach’s comments
- Make use of different methods
Learning Outcomes