title: How to handle bool arguments to a function?
body: <p>Question is:<br />
  Compose a function odd() that takes three <code>bool</code> arguments and returns <code>True</code> if an odd number of arguments are <code>True</code>, and <code>False</code> otherwise. </p>
  
  <p>For example, the output is:</p>
  
  <pre class="lang-none prettyprint-override"><code>&gt;&gt;&gt; odd ( False , True , False )
  True
  &gt;&gt;&gt;
  &gt;&gt;&gt; odd ( True , True , True )
  True
  &gt;&gt;&gt;
  &gt;&gt;&gt; odd ( True , True , False )
  False
  </code></pre>
  
  <p>This is question but I am not sure what I write as argument in function?
  <code>def bool(x,y,z)</code> is it right? By the way, I tried one way to solve that question.</p>
  
  <pre><code>import sys
  
  def bool(x,y,z):
      if x+y+z%2==0:
          return False
      else:
          return True
  
  a = int(sys.argv[1])
  b = int(sys.argv[2])
  c = int(sys.argv[3])
  
  m = bool(a,b,c)
  
  print(m)
  </code></pre>
  
  <p>My way is very bad I know, but I am confused about boolean argument.
  Are there anyone to show me a way?</p>