Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #46112
| Path | csiph.com!usenet.pasdenom.info!aioe.org!news.swapon.de!fu-berlin.de!uni-berlin.de!not-for-mail |
|---|---|
| From | Marc Christiansen <usenetmail@solar-empire.de> |
| Newsgroups | comp.lang.python |
| Subject | Re: Cutting a deck of cards |
| Date | Sun, 26 May 2013 22:13:55 +0200 |
| Lines | 16 |
| Sender | <tolot@jupiter.solar-empire.de> |
| Message-ID | <317a7a-jot.ln1@pluto.solar-empire.de> (permalink) |
| References | <4d02f46f-8264-41bf-a254-d1c20469626e@googlegroups.com> <mailman.2186.1369592184.3114.python-list@python.org> <ar4a7a-cmt.ln1@pluto.solar-empire.de> <mailman.2194.1369598093.3114.python-list@python.org> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=UTF-8 |
| Content-Transfer-Encoding | 8bit |
| X-Trace | news.uni-berlin.de BLpbr3mA+Xd80FLW0BAubgupIKrmMxmvXy4RNBbl/p9J9UVb8= |
| X-Orig-Path | not-for-mail |
| User-Agent | tin/2.0.1-20111224 ("Achenvoir") (UNIX) (Linux/3.8.13-gentoo (x86_64)) |
| Xref | csiph.com comp.lang.python:46112 |
Show key headers only | View raw
Carlos Nepomuceno <carlosnepomuceno@outlook.com> wrote: > ---------------------------------------- >> From: usenetmail@solar-empire.de > [...] >> Not in Python3.x >>>>> decks = 6 >>>>> list(range(13 * 4 * decks)) == range(13 * 4 * decks) >> False > > What does "list(range(13 * 4 * decks))" returns in Python 3? A list of course. But Py3 range is very similar to Py2 xrange, it returns a range object. AdiaĆ Marc
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Cutting a deck of cards RVic <rvince99@gmail.com> - 2013-05-26 10:52 -0700
Re: Cutting a deck of cards MRAB <python@mrabarnett.plus.com> - 2013-05-26 19:04 +0100
Re: Cutting a deck of cards Kamlesh Mutha <mkamlesh@gmail.com> - 2013-05-26 23:35 +0530
RE: Cutting a deck of cards Carlos Nepomuceno <carlosnepomuceno@outlook.com> - 2013-05-26 21:16 +0300
Re: Cutting a deck of cards Marc Christiansen <usenetmail@solar-empire.de> - 2013-05-26 21:36 +0200
RE: Cutting a deck of cards Carlos Nepomuceno <carlosnepomuceno@outlook.com> - 2013-05-26 22:54 +0300
Re: Cutting a deck of cards Marc Christiansen <usenetmail@solar-empire.de> - 2013-05-26 22:13 +0200
Re: Cutting a deck of cards Terry Jan Reedy <tjreedy@udel.edu> - 2013-05-26 17:03 -0400
Re: Cutting a deck of cards RVic <rvince99@gmail.com> - 2013-05-26 11:17 -0700
Re: Cutting a deck of cards Roy Smith <roy@panix.com> - 2013-05-26 14:21 -0400
Re: Cutting a deck of cards Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-05-26 23:17 +0100
RE: Cutting a deck of cards Carlos Nepomuceno <carlosnepomuceno@outlook.com> - 2013-05-27 01:30 +0300
Re: Cutting a deck of cards Chris Angelico <rosuav@gmail.com> - 2013-05-27 08:42 +1000
RE: Cutting a deck of cards Carlos Nepomuceno <carlosnepomuceno@outlook.com> - 2013-05-27 01:51 +0300
Re: Cutting a deck of cards Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-05-26 23:56 +0100
Re: Cutting a deck of cards Lee Crocker <leedanielcrocker@gmail.com> - 2013-05-31 04:56 -0700
Re: Cutting a deck of cards Modulok <modulok@gmail.com> - 2013-05-31 12:54 -0600
Re: Cutting a deck of cards Joshua Landau <joshua.landau.ws@gmail.com> - 2013-06-01 18:16 +0100
Re: Cutting a deck of cards Lee Crocker <leedanielcrocker@gmail.com> - 2013-06-01 22:57 -0700
Re: Cutting a deck of cards Giorgos Tzampanakis <giorgos.tzampanakis@gmail.com> - 2013-06-01 14:58 +0000
csiph-web