title: Check even/odd for Palindrome?
body: <p>Is it a good idea to check for odd/even length of a palindrome number/string? Most snippets I came across don't do this basic test. If length is even, it can't be a palindrome, no? </p>
  
  <pre><code>if len(var) % 2 != 0:
    # could be a palindrome, continue...
  else:
    break
  </code></pre>
  
  <p>Or is it just better (i.e faster) to start comparing the first and last numbers/letters directly?</p>
  
  <p><strong>Edit</strong>: Okay, stupid question, should've thought twice! :)</p>