loading
main.py
1
2
3
num1, opCode, num2 = int(input()), input(), int(input())
ops = {"+":lambda x,y: x + y, "*":lambda x,y: x * y}
print(ops[opCode](num1, num2))