John Salerno <[EMAIL PROTECTED]> writes: > Now, I know the actual upper() function works, but I can't understand > if there's a problem with *when* it's being called, or what's being > done with it to get the second result above.
You are translating "original" which still has lower case letters:
return original.translate(trans_table)
You want:
return original.upper().translate(trans_table)
--
http://mail.python.org/mailman/listinfo/python-list
