"""Example using Caesar's Cipher Encryption using Advanced Indexing
and List Comprehension"""

# Data
abc = "abcdefghijklmnopqrstuvwxyz"
s = "xthexrussiansxarexcoming"

# One-Liner
rt13 = lambda x: "".join([abc[(abc.find(c) + 13) % 26] for c in x])

# Result
print(rt13(s))
print(rt13(rt13(s)))