Prev: threading and signals - main thread solely responsible for signal handling?
Next: WORK AT HOME -EARN $4,000 WITH EMAIL READING JOBS
From: MRAB on 14 Feb 2010 12:29 Martin v. Loewis wrote: >> floor(x) returns an integer > > Why do you say that? Assuming you are talking about math.floor, it works > differently for me: > > py> math.floor(10.0/3) > 3.0 > I've just double-checked. It returns a float in Python 2.x and an int in Python 3.x. (I recently switched to Python 3.1.) |