x = 10 y = 20 print(eval("x+y")) expr = input("Enter an expression: ") print(expr) print(eval(expr))