title: How can I ensure input is in the form #.##
body: <p>I need to error check to ensure that user input has two decimal places. </p>
  
  <p>How can I achieve this?</p>
  
  <p>I ended up doing something like this: </p>
  
  <pre><code> if len(input) &gt; 3:
        if input[-3] == ".":
             #then the validation of the varriable
  </code></pre>