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
- What Is a Code?
- Shifting Letters
- Encoding a Message
- Decoding a Message