I submitted my caesar solution and the output prints fine, but weirdly there's always a '!' behind the output.

For example:

Expected Output:

ciphertext: b

Actual Output:

ciphertext: b!

What's going on!? The symbol '!' doesn't even exist in my code.

Code link: https://paste.pydis.com/eyatihahik.py


1 Answer 1


See anything wrong with this line?

    for (int i = 0; i < ALPHABET; i++)

How many letters are in the plaintext string?

If this answers your question, please click on the check mark to accept. Let's keep up on forum maintenance. ;-)

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .