def check_odd_even(number, odd=True):
    """
    This function checks whether a number if odd or even
    :param number: the number to check
    :param odd: True for ODD, False for even
    :return: None, just prints
    """
    if odd:
        if number % 2 == 1:
            print(f"Correct, number {number} is odd")
        else:
            print(f"wrong, number {number} is not odd")
    else:
        if number % 2 == 1:
            print(f"Correct, number {number} is even")
        else:
            print(f"wrong, number {number} is not even")

check_odd_even(7)
check_odd_even(12)
check_odd_even(12, odd=False)
check_odd_even(7, False)
fd76bde4fbe7e936b0073d146b3933ad98f3c941
<mask token>

def check_odd_even(number, odd=True):
    """
    This function checks whether a number if odd or even
    :param number: the number to check
    :param odd: True for ODD, False for even
    :return: None, just prints
    """
    if odd:
        if number % 2 == 1:
            print(f'Correct, number {number} is odd')
        else:
            print(f'wrong, number {number} is not odd')
    elif number % 2 == 1:
        print(f'Correct, number {number} is even')
    else:
        print(f'wrong, number {number} is not even')


<mask token>

def check_odd_even(number, odd=True):
    """
    This function checks whether a number if odd or even
    :param number: the number to check
    :param odd: True for ODD, False for even
    :return: None, just prints
    """
    if odd:
        if number % 2 == 1:
            print(f'Correct, number {number} is odd')
        else:
            print(f'wrong, number {number} is not odd')
    elif number % 2 == 1:
        print(f'Correct, number {number} is even')
    else:
        print(f'wrong, number {number} is not even')


check_odd_even(7)
check_odd_even(12)
check_odd_even(12, odd=False)
check_odd_even(7, False)

def check_odd_even(number, odd=True):
    """
    This function checks whether a number if odd or even
    :param number: the number to check
    :param odd: True for ODD, False for even
    :return: None, just prints
    """
    if odd:
        if number % 2 == 1:
            print(f"Correct, number {number} is odd")
        else:
            print(f"wrong, number {number} is not odd")
    else:
        if number % 2 == 1:
            print(f"Correct, number {number} is even")
        else:
            print(f"wrong, number {number} is not even")

check_odd_even(7)
check_odd_even(12)
check_odd_even(12, odd=False)
check_odd_even(7, False)