### Instruction: i sold a book at a profit of 10 % . had i sold it for $ 140 more , 15 % would have been gained . find the cost price ? Let's write a Python program to solve it.### Response: n0 = 10.0
n1 = 140.0
n2 = 15.0
t0 = n0 * n1
t1 = n2 - n0
t2 = t0 / t1
t3 = t2 * 100.0
answer = t3 / n0
print(answer)