On Tue, Jun 9, 2009 at 12:25 AM, Hendrik van Rooyen<m...@microcorp.co.za> wrote:
> One can go from lb = ['b','a','n','a','n','a']
> to s = "banana" by using s = "".join(lb)
>
> Is there a way to go the reverse route?

lb = list("banana")

Cheers,
Chris
-- 
http://blog.rebertia.com
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to