Re: [Tutor] Just Joined!

2011-05-12 Thread Alex Smith
t input: >>> swapcase.center('hello',10) Traceback (most recent call last):   File "", line 1, in     swapcase.center('hello',10) TypeError: an integer is required From: Wayne Werner To: Alex Smith Cc: "tutor@p

[Tutor] Just Joined!

2011-05-12 Thread Alex Smith
Hi All, I just joined this list and am really new to python. I have an assignment to create a function with (a_string, width) which returns the a_string with all the lower case characters changed to upper case characters and vice versa and centered; was wondering if someone could point me in th