Il Mon, 03 Sep 2007 07:56:10 -0700, Andrea ha scritto:

> [cut]
> 
> I want to call factorial(2)//binomial(1024,2) for example, in this way
> trivially I obtain 0 as probability, how can I obtain the probability
> forcing this division to output extremely small real numbers????

int to float will help

print float(factorial(2))/binomial(1024,2)

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

Reply via email to