Question:  For the school bake sale Carol made 19 cupcakes. If she sold 6 of them and then made 27 more, how many cupcakes would she have? 

Solution program:
answer=((19.0+27.0)-6.0)
print(answer)

Answer: 40