my code in python is supposed to sum the two variables and return a value, but it keeps returning the two numbers together:
A = input("insert a value: ")
B = input("insert another value: ")
if A >= B:
R == A + B
print ("this is the result", R)
else:
R == A - B
print ("this is the result", R)
input 1: A=1 and B=1
output 1: R=11
input 2: A=2 and B=1
output 2: R=21