Series overview

Python Bakery

Character rotation

This lesson covers a Caesar cipher that encrypts and decrypts text by rotating each character’s ASCII code by a fixed amount, wrapping around with the modulo operator. Students implement the encrypt_text and decrypt_text functions as the project’s second milestone.