a = ord("plaintext[i]")? even though I do this: a = ord(plaintext[i], the response is the same!

The compiler returns with this reply: Please, help!!!

Traceback (most recent call last): File "caesar.py", line 26, in a = ord("plaintext[i]") TypeError: ord() expected a character, but string of length 12 found


Resolved. No need for the "" or ''.

| improve this answer | |

You must log in to answer this question.

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