Question: Benny goes out to lunch with Sara and Tom. Each person orders the $8 lunch special. Benny agrees to pay the bill. How much will he have to pay ?

Solution program:
from sympy import symbols, solve
x = symbols("x")
answer = solve(3*8-x)
print(answer)

Answer: 24