Question:  You go out for a long walk. You walk 0.75 mile and then sit down to take a rest. Then you walk 0.25 of a mile. How far did you walk altogether?

Solution program:
answer=(0.75+0.25)
print(answer)

Answer: 1