{ - 10 , - 6 , - 5 , - 4 , - 2.5 , - 1 , 0 , 2.5 , 4 , 6 , 7 , 10 } a number is to be selected at random from the set above . what is the probability that the number selected will be a solution of the equation ( x + 5 ) ( x + 10 ) ( 2 x - 5 ) = 0 ?
n0 = 10.0
n1 = 6.0
n2 = 5.0
n3 = 4.0
n4 = 2.5
n5 = 1.0
n6 = 0.0
n7 = 2.5
n8 = 4.0
n9 = 6.0
n10 = 7.0
n11 = 10.0
n12 = 5.0
n13 = 10.0
n14 = 2.0
n15 = 5.0
n16 = 0.0
t0 = n5 + n14
t1 = n0 + n14
answer = t0 / t1
print(answer)