making all letters Caps/Small Letters

Chris cwitts at gmail.com
Fri Dec 14 05:10:25 EST 2007


On Dec 14, 11:30 am, Merrigan <charl.loub... at gmail.com> wrote:
> Hi There,
>
> I'm sure I have done this before, but cannot remember how, or find out
> how to do it quickly - but is there a way/function/something in python
> to make all the letters of a raw_input() string small/capital letters?
>
> Thanks!
>
>  -- Merrigan

as it's a string, it supports string functions.
.upper()
.lower()



More information about the Python-list mailing list