a = input('1st number: ')
b = input('2nd number: ')
c = a + b
print(a + ' + ' + b + ' = ' + c)
If I enter 1 for a then 2 for b it returns 12 instead of 3 and I don't understand why it wont find the sum of the two variables. Could anyone help I started with Java and I'm new to Python.