title: Conditional statements in Python3
body: <p>With the given code, for the input 2100 the output should be False. But the function is returning True</p>
  
  <pre><code>def is_leap(year):
      if (year%4==0 &amp; year%100==0 &amp; year%400==0):
          leap = True
      else:
          leap = False
  
      # Write your logic here
  
      return leap
  
  year = int(input())
  print(is_leap(year))
  </code></pre>
  
  <p>When I change the code to (change in the conditional structure: <code>(year%4==0 &amp; year%100==0 &amp; year%400==0)</code> to <code>((year%4==0 &amp; year%100==0) &amp; (year%400==0))</code>): It is returning False (which is expected). Why is that happening?</p>
  
  <pre><code>def is_leap(year):
      if ((year%4==0 &amp; year%100==0) &amp; (year%400==0)):
          leap = True
      else:
          leap = False
  
      # Write your logic here
  
      return leap
  
  year = int(input())
  print(is_leap(year))
  </code></pre>