each of the products produced yesterday was checked by worker x or worker y . 0.5 % of the products checked by worker x are defective and 0.8 % of the products checked by worker y are defective . if the total defective rate of all the products checked by worker x and worker y is 0.55 % , what fraction of the products was checked by worker y ?
n0 = 0.5
n1 = 0.8
n2 = 0.55
t0 = n2 - n0
t1 = n1 - n0
answer = t0 / t1
print(answer)