[Tutor] making a string
Mark Lawrence
breamoreboy at yahoo.co.uk
Sun May 26 05:16:15 CEST 2013
On 26/05/2013 04:07, Tim Hanson wrote:
> I'm new to this, just getting through the first Mark Lutz book.
>
> If I start out with :
>
> ham=list('spam');ham
> ['s','p','a','m']
>
> How do I get a string back?
> _______________________________________________
> Tutor maillist - Tutor at python.org
> To unsubscribe or change subscription options:
> http://mail.python.org/mailman/listinfo/tutor
>
''.join(ham)
--
If you're using GoogleCrap™ please read this
http://wiki.python.org/moin/GoogleGroupsPython.
Mark Lawrence
More information about the Tutor
mailing list