title: which is faster to find the even number if(n%2==0) or if(n&1==0)?
body: <p><strong>which is faster to find the even number if(n%2==0) or if(n&amp;1==0) ?</strong></p>
  
  <pre><code>def isEven(n):
      if n%2 == 0:
          return True
      return False
  OR
  
  def isEven(n):
      if n&amp;1 == 1:
          return False
      return True
  </code></pre>