print("Python Calculator")
problem = input("Enter a math problem, or 'q' to quit") # Takes User's input
while (problem != "q", "Q"): # If problem = "q", or "Q", quit
print("The answer to ", problem, "is:", eval(problem)) # Solve problem
problem = input("Enter another math problom, or 'q' to quit: ") # Repeat question