Incrementing letters
Heiko Wundram
modelnine at ceosg.de
Fri May 27 09:38:32 EDT 2005
Am Freitag, 27. Mai 2005 13:31 schrieb Michael:
> if(C == 'z') C='a';
> else C++;
if C == "z":
C = "a"
else:
C = chr(ord(C)+1)
--
--- Heiko.
see you at: http://www.stud.mh-hannover.de/~hwundram/wordpress/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/python-list/attachments/20050527/839cadcc/attachment.sig>
More information about the Python-list
mailing list