How about adding rational fraction to Python?

Grant Edwards grante at visi.com
Mon Feb 25 11:27:15 EST 2008


On 2008-02-25, Carl Banks <pavlovevidence at gmail.com> wrote:

> In other words, 3/4 in Python rightly yields a float

Unless you're in the camp that believes 3/4 should yield the
integer 0. ;)

> and not a rational.

-- 
Grant Edwards                   grante             Yow! Zippy's brain cells
                                  at               are straining to bridge
                               visi.com            synapses ...



More information about the Python-list mailing list