divmod(3.1415926535, 2.718281828) returns (1.0, 0.4233108255) almost as I would expect. But, why is the first return value a float instead of an int? -- David Eppstein UC Irvine Dept. of Information & Computer Science eppstein at ics.uci.edu http://www.ics.uci.edu/~eppstein/