print('Enter a mathematical expression: ')
expression = input()
space = expression.find(' ')
oprand1 = expression[0 : space]
oprand1 = int(oprand1)
op = expression.find('+' or '*' or '-' or '/')
oprand2 = expression[op + 1 : ]
oprand2 = int(oprand2)
if op == '+':
ans = int(oprand1) + int(oprand2)
print(ans)
So lets say the user enters 2 + 3 with a space in between each character. How would I get it to print 2 + 3 = 5? I need the code to work with all operations.