[Tutor] Translator
Kent Johnson
kent37 at tds.net
Wed Feb 22 17:32:20 CET 2006
ryan luna wrote:
> Well see, its not a complex language at all,
> Here is basicly what it is
> a = ba.
> b = ga.
> somthing like that, my only problem is getting it to
> translate muiltpul letters at a time
> say the user types a
> it prints
> ba like it should,
> but if the user types in ab
> it prints ab
> not baga
Check out this recipe:
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/81330
Kent
More information about the Tutor
mailing list