def ariphmethic(x, y, op):
if op == '+':
return x+y
elif op == '-':
return x-y
elif op == '*':
return x*y
elif op == '/':
return x/y
x2 = float(input("Enter a number 1:"))
y2 = float(input("Enter a number 2: "))
op2 = input("Select math operation: \n+\n-\n*\n/\n")
print(ariphmethic(x, y, str(op2)))