Question:  At the arcade, Jerry won 29 tickets playing 'whack a mole' and 17 tickets playing 'skee ball'. If he spent 12 of his tickets on a hat, how many tickets does Jerry have left? 

Solution program:
answer=((29.0+17.0)-12.0)
print(answer)

Answer: 34