0Pricing
Coding for Kids · Lesson

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

  1. What Is a Code?
  2. Shifting Letters
  3. Encoding a Message
  4. Decoding a Message
← Back to Coding for Kids