def check_if_odd(sum: int = 36) -> int:
    """
    Check if the last digit in the sum is even or odd. If even return 0.
    If odd then floor division by 10 is used to remove the last number.
    Process continues until sum becomes 0 because no more numbers.
    >>> check_if_odd(36)
    0
    >>> check_if_odd(33)
    1
    """
    while sum > 0:
        if (sum % 10) % 2 == 0:
            return 0
        sum = sum // 10
    return 1