(k, m, n) = input("输入k,m,n的值:").split()
k = int(k)
m = int(m)
n = int(n)
t = k + m + n
aaaa = n/t * (n-1)/(t-1) * 1 # aa+aa
Aaaa = n/t * m/(t-1) * 0.5 * 2 # Aa+aa
AaAa = m/t * (m-1)/(t-1) * 0.25 # AaAa
probablity = 1 - aaaa - Aaaa -AaAa
print(probablity)
ros_bio7_IPRB
最新推荐文章于 2022-04-07 20:00:19 发布