> Hello everybody,
> 
> Any better solution than this?

a = [1, 2, 3, [4, 5, 6], [[7, 8], [9, 10]]]
print str(a).replace('[', '').replace(']', '').split(', ')

;)


--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to