"nephish" <[EMAIL PROTECTED]> writes:

> i have seen the join method before, mostly in this group and i want to
> get it a little better.
>
> if i have a list
>
> x = ['this','is','a','sentence','held','in','a','list']
>
> how can i make it print as a single string? or make a single string out
> of it ?

print ' '.join(x)
 
-- 
Jorge Godoy      <[EMAIL PROTECTED]>
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to