oth of these two instructions are executed ,I just want to
know Is there any difference between print 3 and print '3'
in Python ?
thx everyone
Here's a future import though I used,so I can use the planned 3 with a
2x python version in the com
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 ?
>>>
>>> thx everyone
>>
>>
>
> Here's a future
want to know Is there any difference
>>> between print 3 and print '3' in Python ?
>>>
>> thx everyone
>>
>
>
Here's a future import though I used,so I can use the planned 3 with a 2x
python version in the command line interpreter:
Microsoft Windows [Vers
On 09/09/12 14:23, iMath wrote:
在 2012年3月26日星期一UTC+8下午7时45分26秒,iMath写道:
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 ?
thx everyone
The dif
在 2012年3月26日星期一UTC+8下午7时45分26秒,iMath写道:
> 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 ?
thx everyone
--
http://mail.python.o
ed ,I just want to know Is there any
> >> difference between print 3 and print '3' in Python ?
>
> > This is a non-question. The input is the same, the output is the same,
> > what else matters?
>
> def fib1(n):
> if n == 0: return 0
> elif n ==
On Mon, 26 Mar 2012 08:11:03 -0400, Dave Angel wrote:
> 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 pri
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 ?
The question you really wanted to ask is: under what
hen format them using
standard string formatting operations when you want to print them.
There's more information on how to do formatting here:
http://docs.python.org/library/stdtypes.html#string-formatting
Cheers,
Cliff
On Mon, 2012-03-26 at 04:45 -0700, redstone-c...@163.com
On 3/26/2012 7: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 ?
If you want to see the difference between
now Is there any difference
>>> between print 3 and print '3' in Python ?
>>
>> This is a non-question. The input is the same, the output is the same,
>> what else matters?
>>
>> On the other hand, if you want to dig deeper, there are lots of diffe
> 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 ?
Sure there is. The first converts the integer 3 to a string ("3"), the
ge points to a different character
>
> --
>
> DaveA
在 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 ju
On 3/26/12 12:45 PM, 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 ?
Yes, there is a difference, but not muc
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 ?
This is a non-question. The input is the
On 3/26/2012 13:45, 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 ?
The former prints a number while the latte
On Mon, Mar 26, 2012 at 10:45 PM, 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 ?
One of them takes the integer 3, conver
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
18 matches
Mail list logo