title: Python help on if((var[0] > 6) && (var[0] < 19)) : needed
body: <p>I'm fairly new on Python2.7 and got most of my job done, but the
  term </p>
  
  <pre><code>if((var &gt; 6) &amp;&amp; (var &lt; 19)) :
  </code></pre>
  
  <p>will give a syntax error (of course) but I cannot understand how to
  do this in Python</p>
  
  <p>What I want is to have a true (to get in the body of if) if the content 
  of var ist between 6 and 19 (this will be for a clock 6am-7pm)
  could somebody please point to the working solution?</p>