What is the easiest way to get the first number as boolean?

divmod(99.6, 30.1)

Or do I have to say:

flote, rem=divmod(99.6, 30.1)
bool(flote)

-- Gnarlie
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to