Chris Angelico wrote:
OP is using 2.7.6, so short of a __future__ directive, that won't actually give 6 seconds in hours
Oops, yes, you're right! (I always use future division these days, so I tend to forget about that.)
and // is unnecessary.
It's still a good habit to get into, though, since it will continue to work in 3.x, and in 2.x it makes the intent of the code clear without having to know whether from __future__ import division is in effect. -- Greg -- https://mail.python.org/mailman/listinfo/python-list