Hello guys I am new to Python and I have overcome a problem.Can anybody help?
I am trying to make a simple calculator.
This is the code.
I am trying to make a simple calculator.


This is the code.
x=int(input('Input first number.\n')); y=int(input('Input second number.\n')); a=int(input('What calculation you want to perform?\n 1 +, 2 -,3 *,4 / \n')); If a==1;print('The answer is ',x+y); If a==2;print('The answer is ',x-y); If a==3;print('The answer is ',x*y); If a==4;print('The answer is ',x/y);And the error is SyntaxError: invalid syntax which is pointing to the "a" in line 4 of this programme.

