Okay. In Python 3:

n = int(input("Enter a number: "))

if n%2 == 0:

.... print(n, "is even")

else:

.... print(n, "is odd")

For Python 2, change input to raw_input and remove parentheses on the print statements.

Pretty much any other programming language will follow that pattern. Get a number into a variable (n, in this case), find the remainder after dividing by 2 (using n%2 in this case) and finding that the number is even if and only if that remainder is zero.

Don't test for a remainder of 1 in most languages if you want the code to work correctly with negative numbers. I explained that in my answer to your other question.

As it happens, Python is an exception. For any integer n, n%2 in Python returns 1 if n is odd or 0 if n is even. C/C++, C#, Java, VB.Net, Pascal/Delphi, etc. either define or allow implementations to return -1 on negative odd integers.