Question: Sandy has 8 dozen books. Fred has 5 times more books than  Sandy. How many books does Fred have ?

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