Question:  At the fair Adam bought 10 tickets. After riding the ferris wheel he had 3 tickets left. If each ticket cost 9 dollars, how much money did Adam spend riding the ferris wheel? 

Solution program:
answer=(9.0*(10.0-3.0))
print(answer)

Answer: 63