### Instruction: some of 50 % - intensity red paint is replaced with 25 % solution of red paint such that the new paint intensity is 40 % . what fraction of the original paint was replaced ? Let's write a Python program to solve it.### Response: n0 = 50.0
n1 = 25.0
n2 = 40.0
t0 = n2 / 100.0
t1 = n0 / 100.0
t2 = n1 / 100.0
t3 = t0 - t1
t4 = t2 - t1
answer = t3 / t4
print(answer)