It is fun.the result of str.lower(str())

Tim Roberts timr at probo.com
Thu Mar 9 03:09:09 EST 2006


"Sullivan WxPyQtKinter" <sullivanz.pku at gmail.com> wrote:
>
>Guess what would be the result of these functions:
>
>>>>str.lower('ASFA')
>>>>str.join(str(),['1','1','1'])
>>>>str.join('a','b')
>
>If you guess them correctly, please explain.

Can you tell us what you expected these to do?  It might help future
questioners.
-- 
- Tim Roberts, timr at probo.com
  Providenza & Boekelheide, Inc.



More information about the Python-list mailing list