Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #28770
| Newsgroups | comp.lang.python |
|---|---|
| Date | 2012-09-09 06:27 -0700 |
| References | <48fbfc85-c495-4131-a18a-1ebb94e7ce20@googlegroups.com> |
| Message-ID | <874765ea-d1cd-40cc-ac8c-ff694648cfae@googlegroups.com> (permalink) |
| Subject | Re: What’s the differences between these two pieces of code ? |
| From | iMath <redstone-cold@163.com> |
在 2012年7月7日星期六UTC+8下午12时56分35秒,iMath写道: > What’s the differences between these two pieces of code ? > > (1) > > for i in range(1, 7): > > print(2 * i, end=' ') > > > > thx everyone > > (2) > > for i in range(1, 7): > > print(2 * i, end=' ') > > print() > > > > > > when executed both respectively in Python shell ,I get the same effect . Who can tell me why ?
Back to comp.lang.python | Previous | Next — Next in thread | Find similar | Unroll thread
Re: What’s the differences between these two pieces of code ? iMath <redstone-cold@163.com> - 2012-09-09 06:27 -0700 Re: What’s the differences between these two pieces of code ? Kwpolska <kwpolska@gmail.com> - 2012-09-09 19:07 +0200
csiph-web