title: python check if one before last digit is odd
body: <p>I have a string:</p>
  
  <pre><code>i = '12345678901'
  </code></pre>
  
  <p>How to check (with python) if one before last digit in a string is even or odd ?</p>
  
  <p>In a string above I want function to return or print "even".<br />
  I found some examples but they are in C and i don't know how to use it in Python</p>