title: How to get a number from a certain part of a string? (basic)
body: <p>My code: </p>
  
  <pre><code>if x[6:7] == "0":
  </code></pre>
  
  <p>Basically <code>x = 0:00.0 (actual numbers vary)</code></p>
  
  <p><code>x</code> is also a string. I need to take the last letter and check if it is <code>0</code> or not, but don't know how.</p>