### Instruction: if a person walks at 20 km / hr instead of 10 km / hr , he would have walked 40 km more . the actual distance traveled by him is ? Let's write a Python program to solve it.### Response: n0 = 20.0
n1 = 10.0
n2 = 40.0
t0 = n0 - n1
t1 = n2 / t0
answer = n1 * t1
print(answer)