I keep getting this error and I don’t know what I am doing wrong.
You should move all the code you wrote so far within the caesar function body. Make sure you keep the same indentation level for all of the lines within the function body
This is the code below
def caesar():
print('caesar')
alphabet = 'abcdefghijklmnopqrstuvwxyz'
shift = 5
shifted_alphabet = alphabet\[shift:\] + alphabet\[:shift\]
translation_table = str.maketrans(alphabet, shifted_alphabet)
text = 'hello world'
encrypted_text = text.translate(translation_table)
print(encrypted_text)
