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:
-
Replace the value assigned to
encrypted_textwith the following string, which represents a message to decrypt:Pbhentr vf sbhaq va hayvxryl cynprf.. -
Then, declare a variable named
decrypted_textand assign it a call todecryptwithencrypted_textas it first argument and a shift of13as the second argument. -
Finally, print the
decrypted_texton 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