Question:  Tom was putting his spare change into piles. He had 2 piles of quarters and 4 piles of dimes. If each pile had 5 coins in it, how many coins did he have total? 

Solution program:
answer=(5.0*(2.0+4.0))
print(answer)

Answer: 30