Skip to main content
Encrypt a message by shifting its letters with ord() and chr(), wrap around from Z to A, leave spaces and punctuation alone, then decrypt it. Open Lab 24 in the IP Lab Portal

What you will practice

  • Convert between characters and codes with ord() and chr()
  • Wrap around from Z to A
  • Leave spaces and punctuation alone

Before you start

Time

25 minutes

Where

IP Lab Portal

Module

Module 9: Strings

  • In the IP Lab Portal, open Lab 24 - Caesar cipher.
  • In class, this lab comes right after the Lesson 6 recap slide in Module 9 core material.