You can use : print "aList is "+repr([x,x,x,x,x,x,x,x,x]) -Shambhu
From: levi nie [mailto:[email protected]] Sent: 04/07/2012 9:43 AM To: [email protected] Subject: a problem about "print" 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]
-- http://mail.python.org/mailman/listinfo/python-list
