Course of Raku / Addendum 🆕 / Working with data / Text and strings / Exercises

Caesar cipher

Problem

Encrypt the upper-case word HELLO with a Caesar cipher that shifts each letter three places forward in the alphabet, wrapping X, Y, Z around to A, B, C. Print the encrypted word.

Example

The program prints:

KHOOR

Solution

See the solution

Course navigation

Solution: Title case   |   Solution: Caesar cipher