Hello, i'm new to python, I mostly program in C++. i'm adding values, but it doesn't give me the right answer.
x = input("Enter number: ");
y = input("Enter a another number: ");
z = x + y;
print("Answer is: " + z);
if i enter 5 + 5 it gives me 55, which isn't right. i tried converting the values to int()
but it gives me a syntax error.