Question:  John made 6 dollars mowing lawns and 18 dollars weed eating. If he only spent 3 dollar a week, how long would the money last him? 

Solution program:
answer=((6.0+18.0)/3.0)
print(answer)

Answer: 8