4 hundred quadrillonth?

Carl Banks pavlovevidence at gmail.com
Thu May 21 19:56:52 EDT 2009


On May 21, 3:45 pm, norseman <norse... at hughes.net> wrote:
> Beyond that - just fix the money at 2, gas pumps at 3 and the
> sine/cosine at 8 and let it ride. :)


Or just use print.

>>> print 4.0/5.0
0.8

Since interactive prompt is usually used by programmers who are
inspecting values it makes a little more sense to print enough digits
to give unambiguous representation.


Carl Banks



More information about the Python-list mailing list