PEP0238 lament

Grant Edwards grante at visi.com
Sun Jul 22 18:28:18 EDT 2001


On Sun, 22 Jul 2001 17:40:10 GMT, Rainy <sill at optonline.net> wrote:

>First of all, it's really ugly. It's the ugliest thing in python for a newbie,
>imho. Yes, 1/2 is 0. You have to type 1.0/2 to get 0.5. No, there is no good
>reason for that, just memorize it. Ugh.

There _is_ a good reason.  1 and 2 are integers.  How many 2s
can you fit into a 1?

None.

Zero.

-- 
Grant Edwards                   grante             Yow!  Can you MAIL a BEAN
                                  at               CAKE?
                               visi.com            



More information about the Python-list mailing list