Hi, Pls tell me whats going on in the code snippet below:
>>> n = 10
>>> statstr = "N = ",n
>>> type(statstr) #case1
<type 'tuple'>
>>> print statstr
('N = ', 10)
>>> print "N = ",n #case 2
N = 10
In the first case the result is printed as a tuple and in the second
it appears as an ordinary string.
--
http://mail.python.org/mailman/listinfo/python-list
