title: Set every odd element of a non-empty list of integers to zero
body: <p>I have tried using boolean but not working        </p>
  
  <pre><code>a = [4,10,1,7]
  
  if a % 2 != 0:
      print a 
  </code></pre>
  
  <p>all I get in the terminal is <code>unsupported operand type(s) for %: 'list' and 'int'</code></p>
  
  <p>How to get an output of <code>[4,10,0,0]</code></p>