[Python-ideas] 1_000_000

Greg Ewing greg.ewing at canterbury.ac.nz
Sat May 7 09:36:07 CEST 2011


Fred Drake wrote:

> I understand the motivation for a thousands separator, at least (though
> I'll admit, I don't find it compelling; *all* big numbers in code are
> too magical).

Bigness is a relative concept. Avogadro's number is fairly
big in absolute terms, but you can hold that many molecules
in your hand quite easily.

Although writing it as 6_020_000_000_000_000_000_000_000_000
probably wouldn't be very helpful.

-- 
Greg




More information about the Python-ideas mailing list