On vr, 2010-02-05 at 20:39 +0000, ALAN GAULD wrote:
> return float(x1-y1)/(x2-y2)

Does not work properly in version 2. Example is the 3rd doc test:
float((3-2)/(3-1)) gives 0.0 instead of 0.5. 

Greets
Sander

_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to