Assignment 2 - Caesar Cipher
This is my code for the OOP homework. I chose the Caesar Cipher Helper.
How it works:
- The
CaesarCipherclass takes ashiftnumber. encodechanges text to uppercase and moves letters forward. It uses% 26so letters stay in the A-Z alphabet.decodemoves letters backward to fix the text.- Spaces and punctuation do not change.
Tools:
I set up black and ruff with pre-commit hooks. They check and fix my code format before every commit.
Description
Languages
Python
100%