# Returns 0 if n is even, else odd 
def isEven(n) : 
       
    # n&1 is 1, then odd, else even 
    return (n & 1) 
   
# Driver code 

n = int(input("Enter a no:"))
if(isEven(n) == 0) : 
    print ("Even") 
else : 
    print ("Odd") 

bd29c456e2a9071866c1cafc80612d8e2f2e42cf
<mask token>

def isEven(n):
    return n & 1


<mask token>

def isEven(n):
    return n & 1


<mask token>
if isEven(n) == 0:
    print('Even')
else:
    print('Odd')

def isEven(n):
    return n & 1


n = int(input('Enter a no:'))
if isEven(n) == 0:
    print('Even')
else:
    print('Odd')

# Returns 0 if n is even, else odd 
def isEven(n) : 
       
    # n&1 is 1, then odd, else even 
    return (n & 1) 
   
# Driver code 

n = int(input("Enter a no:"))
if(isEven(n) == 0) : 
    print ("Even") 
else : 
    print ("Odd") 
