title: How do I print a '%' sign using string formatting?
body: <p>I've made a little script to calculator percent; however, I wish to actually include the <code>%</code> within the message printed...</p>
  <p>Tried this at the start - didn't work...</p>
  <pre class="lang-none prettyprint-override"><code>oFile.write(&quot;Percentage: %s%&quot;\n&quot; % percent)
  </code></pre>
  <p>I then tried <code>&quot;Percentage: %s&quot;%&quot;\n&quot; % percent&quot;</code> which didn't work.</p>
  <p>I'd like the output to be:</p>
  <pre class="lang-none prettyprint-override"><code>Percentage: x%
  </code></pre>
  <p>I keep getting</p>
  <pre class="lang-none prettyprint-override"><code>TypeError: not all arguments converted during string formatting
  </code></pre>