Question:  Faye had 46 math problems and 9 science problems for homework. If she finished 40 of the problems at school, how many problems did she have to do for homework? 

Solution program:
answer=((46.0+9.0)-40.0)
print(answer)

Answer: 15