Answer: Secret Code #249

The secret message says:

BOOK

The secret note decoded: BOOK
The note, decoded.

Letter by letter

Secret letterLPY
Real letterOKB

Decode it with Python

This program does the decoding for you. Change the secret and the code to crack other messages!

secret = "YLLP"
message = ""

for letter in secret:
    if letter.isalpha():
        position = ord(letter) - ord("A")
        message = message + chr(ord("Z") - position)
    else:
        message = message + letter

print(message)

When you run it, it prints:

BOOK

Did you know? The mirror code is thousands of years old. It was first used with the Hebrew alphabet, where the first letter swaps with the last, the second with the second-to-last, and so on.