On Monday, May 23, 2016 at 12:01:08 PM UTC+5:30, Marko Rauhamaa wrote: > Rustom Mody : > > > Haskell has (almost) what I learnt at school: > > > > Prelude> let (q,r) = 7 `divMod` 3 > > Prelude> (q,r) > > (2,1) > > Python: > > >>> divmod(7, 3) > (2, 1) > > > Replace the strange `divMod` with / and we are back to the behavior I > > first learnt at school > > X > We never used '/' in school for anything. We used 'X : Y' or '---'. > Y > > Anyway, every calculator in the world produces: > > 1 > รท > 2 > = > > ==> 0.5
Not true: https://www.youtube.com/watch?v=iynCW9O_x58 [And ive seen such 40 years ago] -- https://mail.python.org/mailman/listinfo/python-list