title: Unsupported format character?
body: <p>I am trying to print a line with a with a float formatter to 2 decimal points like this:</p>
  
  <pre><code>    print "You have a discount of 20% and the final cost of the item is'%.2f' dollars." % price
  </code></pre>
  
  <p>But when I do I get this error:</p>
  
  <p>ValueError: unsupported format character 'a' (0x61) at index 27</p>
  
  <p>What does this mean and how can I prevent it from happening?</p>