Question: Seth bought 20 cartons of ice cream and 2 cartons of yogurt. Each carton of ice cream cost $6 and each carton of yogurt cost $1. How much more did Seth spend on ice cream than on yogurt?

Solution program:
from sympy import symbols, solve
x = symbols("x")
answer = solve((20*6)-(2*1)-x)
print(answer)

Answer: 118