I'm messing around trying to make a calculator and I have 2 user inputs and an operation:
num1 = float(input("Enter first number: "))
op = input("Enter an operation: ")
num2 = float(input("Enter a second number: "))
and I want to make a variable for the result number:
num3 = float(num1 + op + num2)
but I don't know how to separate the operation so it will still be a string