Construct an algorithm in Python to identify whether a number is odd or even.
x = 7
def findNumberType(x):
    if x % 2 == 0:
        return "Even"
    else:
        return "Odd"

x = 7
print(findNumberType(x))  # Odd