[Tutor] A list of ints to a strings
Amadeo Bellotti
amadeo.bellotti at gmail.com
Fri Aug 25 23:28:14 CEST 2006
I need to convert a list of intgers to a string so for example
I have this
x = [1, 2, 3, 4, 5, 6]
I want this
x = "1 2 3 4 5 6"
I need this to write it to a .txt file does anyone know how to do this?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/tutor/attachments/20060825/7959df33/attachment.html
More information about the Tutor
mailing list