calling upper() on a string, not working?

John Salerno johnjsal at NOSPAMgmail.com
Tue May 16 22:48:26 CEST 2006


Michal Kwiatkowski wrote:

> And here you're translating 'original' (which contains a lot of
> lowercase letters) with use of trans_table that maps only uppercase
> characters. This return should be:
> 
>         return original.upper().translate(trans_table)

Thank you!!! :)



More information about the Python-list mailing list