Amity
Comms — Caesar Encrypt
“Keep it coded—no chum for eavesdroppers.” — Hooper
Challenge:
Encrypt the catch report using a Caesar cipher with shift 3.
Research Station • Secure Report
Task:
Implement
caesar_encrypt(text, shift=3)
.
Shift only letters; preserve case; wrap
z→a
and
Z→A
.
Click
Run Unit Tests
. If all tests pass, you'll get the flag.
def caesar_encrypt(text, shift=3): """Return Caesar-ciphered text by shifting letters by 3, preserving case.""" # Your code here return "" # Test runner do not edit below run_selected_test()
Run Unit Tests
Output or flag will appear here...