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?
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to