cipher encoding
Nick Stinemates
nstinemates at gmail.com
Wed Jan 12 19:50:15 EST 2011
More information about the Python-list mailing list
Wed Jan 12 19:50:15 EST 2011
- Previous message (by thread): cipher encoding
- Next message (by thread): cipher encoding
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Try print s[::-1] Nick On Wednesday, January 12, 2011, Cathy James <nambo4jb at gmail.com> wrote: > Dear all, > > I hope someone out there can help me. > > The output string of my code is close to what i need, but i need it > 1)printed on one line and > > 2) reversed > > > #mycode: > s= input("Enter message: ") > key=1 > for letter in s: > num=(chr(ord(letter)+1)) > print(num) > #or is there a better way to rewrite it with elementary level Python, which happens 2b my current ranking. > #Your insight is always appreciated:) >
- Previous message (by thread): cipher encoding
- Next message (by thread): cipher encoding
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list