Question:  For the school bake sale Paige made pastries. She baked 36 cupcakes and 9 cookies. After the sale she had 4 to take back home. How many pastries did she sell? 

Solution program:
answer=((36.0+9.0)-4.0)
print(answer)

Answer: 41