[Tutor] Noob question

quantrum75 quantrum75 at yahoo.com
Sun Dec 9 19:34:01 CET 2007


Hi there,
I am a newbie trying to actively learn python.
My question is,
Suppose I have a list
a=["apple","orange","banana"]

How do I convert this list into a string which is

b="appleorangebanana"
Sorry for my ignorance, but I have been trying a "for" loop and trying the inbuilt str.join() method without success.
Thanks a lot.
Regards
Quant


       
---------------------------------
Looking for last minute shopping deals?  Find them fast with Yahoo! Search.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/tutor/attachments/20071209/679f4a8e/attachment.htm 


More information about the Tutor mailing list