Question:  A magician was selling magic card decks for 9 dollars each. If he started with 12 decks and by the end of the day he had 7 left, how much money did he earn? 

Solution program:
answer=(9.0*(12.0-7.0))
print(answer)

Answer: 45