0Pricing
Coding for Kids · Lesson

Decoding a Message

Turn code back to text.

Crack the Code! 🔓

Your friend sent you a secret message! 📨 Now you need to decode it back into normal words.

Let's become code breakers! 🕵️

Decode Is the Opposite 🔄

To encode we ADD the shift. To decode we SUBTRACT it!

coded = 'D'
shift = 3
print(chr(ord(coded) - shift))

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