← All challenges
✓ Solved
Caesar Cipher
Shift every letter of a word forward by 3 in the alphabet.
🟡 MediumDifficulty
The challenge
Given the string "hello", shift every letter forward by 3 positions in the alphabet (wrapping z back to a) and print the result. ('h' -> 'k', 'e' -> 'h', etc.)
🧠 Need a hint? (Python)
Convert each character to its position in the alphabet with ord(c) - ord('a'), add the shift, wrap with % 26, then convert back with chr(...) + ord('a').
🚀
Like solving these?
Structured courses, hands-on exercises, and real multi-file projects are waiting -- your first project unlock is free.
Create a free account