a problem about "print"

levi nie levinie001 at gmail.com
Wed Jul 4 06:16:10 CEST 2012


print "aList is "+string(aList) ?

2012/7/4 levi nie <levinie001 at gmail.com>

> aList is a list.i want to get the output seem this "aList is
> [x,x,x,x,x,x,x,x,x]"
> how can i get this?
> it's wrong when i write this, print "aList is "+[x,x,x,x,x,x,x,x,x]
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20120704/5fb04f86/attachment.html>


More information about the Python-list mailing list