[Python-ideas] 1_000_000

Nadeem Vawda nadeem.vawda at gmail.com
Fri May 6 23:23:05 CEST 2011


On Fri, May 6, 2011 at 11:06 PM, dag.odenhall at gmail.com
<dag.odenhall at gmail.com> wrote:
> You could also use e-notation[1]: 1e6, in your example.

1e6 is a float, though. If you use it in that example, range() complains that
its arguments must be integers.



More information about the Python-ideas mailing list