Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #28769

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

Received by 10.224.182.74 with SMTP id cb10mr5043351qab.0.1347197018957; Sun, 09 Sep 2012 06:23:38 -0700 (PDT)
Received by 10.68.233.104 with SMTP id tv8mr48602pbc.5.1347197017649; Sun, 09 Sep 2012 06:23:37 -0700 (PDT)
Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!v8no1196414qap.0!news-out.google.com!da15ni37064541qab.0!nntp.google.com!r4no8244614pbs.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail
Newsgroups comp.lang.python
Date Sun, 9 Sep 2012 06:23:37 -0700 (PDT)
In-Reply-To <5128580.32.1332762326119.JavaMail.geo-discussion-forums@pbom7>
Complaints-To groups-abuse@google.com
Injection-Info glegroupsg2000goo.googlegroups.com; posting-host=112.115.127.33; posting-account=Z1-aQQoAAADvnuKxr9sysEiuPIcBNfjX
NNTP-Posting-Host 112.115.127.33
References <5128580.32.1332762326119.JavaMail.geo-discussion-forums@pbom7>
User-Agent G2/1.0
MIME-Version 1.0
Message-ID <645baeaa-438e-4d30-a559-0db4231ede9c@googlegroups.com> (permalink)
Subject Re: Is there any difference between print 3 and print '3' in Python ?
From iMath <redstone-cold@163.com>
Injection-Date Sun, 09 Sep 2012 13:23:38 +0000
Content-Type text/plain; charset=UTF-8
Content-Transfer-Encoding quoted-printable
Xref csiph.com comp.lang.python:28769

Show key headers only | View raw


在 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

Back to comp.lang.python | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Re: Is there any difference between print 3 and print '3' in Python ? iMath <redstone-cold@163.com> - 2012-09-09 06:23 -0700
  Re: Is there any difference between print 3 and print '3' in Python ? Ian Foote <ian@feete.org> - 2012-09-09 15:41 +0100
  Re: Is there any difference between print 3 and print '3' in Python ? Benjamin Kaplan <benjamin.kaplan@case.edu> - 2012-09-09 23:55 -0700
  Re: Is there any difference between print 3 and print '3' in Python ? Terry Reedy <tjreedy@udel.edu> - 2012-09-10 03:16 -0400

csiph-web