Time we switched to unicode? (was Explanation of this Python language feature?)

Chris Angelico rosuav at gmail.com
Tue Mar 25 09:56:47 EDT 2014


On Wed, Mar 26, 2014 at 12:43 AM, Antoon Pardon
<antoon.pardon at rece.vub.ac.be> wrote:
>> It doesn't bother me. IIRC in primary school before fractions were introduced,
>> a colon was used to indicate division.

The way I learned it, a colon was for a ratio, and a horizontal line
was for a fraction. Both of them effectively indicate division, but
with a distinct difference. If you have four red objects and two blue
ones, the ratio of red to blue is 4 : 2 or 2 : 1, but the fraction
(proportion) that are red is 4 / 6 or 2 / 3.

ChrisA



More information about the Python-list mailing list