Question: 
Write a python function to check whether the given number is odd or not using bitwise operator.


Model's Code:
def is_odd(n):
    return (n & 1) == 1



Sample Correct Code:
def is_odd(n) : 
    if (n^1 == n-1) :
        return True; 
    else :
        return False; 


Asserts:
assert is_odd(5) == True
assert is_odd(6) == False
assert is_odd(7) == True


Tests:
Test 1 of 3: PASS
Test 2 of 3: PASS
Test 3 of 3: PASS

Test 887 of 974: 682/887 (76.88838782412627%): success