Hello good people I am working on a caeser cipher program for class. However, I
ran into a problem with my outputs. Up to a certain point for example:
1. two('y', 'z')
Would give a '\x92' output instead of a 'x' output.
Currently this is my code so far:
def chartonum(ch):
return ord(ch) -
On Thursday, March 20, 2014 11:16:50 PM UTC-4, Dave Angel wrote:
dtran...@gmail.com Wrote in message:
Hello good people I am working on a caeser cipher program for class.
However, I ran into a problem with my outputs. Up to a certain point for
example:
1. two('y', 'z')
On Thursday, March 20, 2014 11:58:43 PM UTC-4, Steven D'Aprano wrote:
On Thu, 20 Mar 2014 20:23:49 -0700, dtran.ru wrote:
Thanks for your input Dave. Would the line be:
return numtochar(c1 + c2 %26)
Yes, that's the line that Dave is talking about.
The critical part