Caesar cipher 25

That is not code. Please post YOUR CODE where you use the print statements the instructions ask for.

print(decrypted_text)

If that is the only print statement you have, then you have not followed the instructions.

The instructions ask you to make 3 changes:

  1. Replace the value assigned to encrypted_text with the following string, which represents a message to decrypt: Pbhentr vf sbhaq va hayvxryl cynprf..

  2. Then, declare a variable named decrypted_text and assign it a call to decrypt with encrypted_text as it first argument and a shift of 13 as the second argument.

  3. Finally, print the decrypted_text on the terminal. With that, the Caesar cipher is complete.

Since there was already one print statement there, and the instructions did not ask you to delete it, you should have 2 print statements.

i finally got it, thank you!

1 Like