Shifting Letters
A simple cipher.
The Shifting Cipher! ➡️
A famous code shifts every letter forward by a few spots! 🔐 It's called a Caesar cipher, named after an ancient Roman leader.
Remember ord and chr 🔢
ord turns a letter into a number, chr turns it back. We'll use both!
print(ord('A'))
print(chr(66))All lessons in this course
- What Is a Code?
- Shifting Letters
- Encoding a Message
- Decoding a Message