Is there any difference between print 3 and print '3' in Python ?

2012-03-26 Thread redstone-cold
I know the print statement produces the same result when both of these two instructions are executed ,I just want to know Is there any difference between print 3 and print '3' in Python ? -- http://mail.python.org/mailman/listinfo/python-list

Re: Is there any difference between print 3 and print '3' in Python ?

2012-03-26 Thread redstone-cold
在 2012年3月26日星期一UTC+8下午8时11分03秒,Dave Angel写道: On 03/26/2012 07:45 AM, redstone-c...@163.com wrote: I know the print statement produces the same result when both of these two instructions are executed ,I just want to know Is there any difference between print 3 and print '3' in Python ?