Jared White wrote:
I am trying to produce A Caesar cipher is a simple substitution cipher
, that would code For example, if the key value is 2, the word
“Sourpuss” would be encoded as “Uqwtrwuu
Here is my code: ( but i keep getting a ERROR)
1 - I see no indentation. Please fix that and repost
On Wed, Apr 1, 2009 at 6:06 AM, Jared White wrote:
> I am trying to produce A Caesar cipher is a simple substitution cipher ,
> that would code For example, if the key value is 2, the word “Sourpuss”
> would be encoded as “Uqwtrwuu
>
> Here is my code: ( but i keep getting a ERROR) It works for me
Hi Jared,
This is program is working fine for me.
Please check the indentation is proper in it.
def main():
print "This program will encode your messages using a Caesar Cipher"
print
key = input("Enter the key: ")
message = raw_input("Enter the message: ")
codedMessage = ""
for ch in message:
I am trying to produce A Caesar cipher is a simple substitution cipher ,
that would code For example, if the key value is 2, the word “Sourpuss”
would be encoded as “Uqwtrwuu
Here is my code: ( but i keep getting a ERROR) It works for me Last week but
for some reason it isnt work for me right now.