title: Python text game health bar
body: <p>I'm making a text adventure I'm using</p>
  
  <pre><code>def do_health
      print health,"/ 200"
  </code></pre>
  
  <p>to display health but I want to convert it to a percentage and print something like</p>
  
  <pre><code>|----------          |
           50%
  </code></pre>
  
  <p>depending on what percentage of health the player has left but I can't find anything elsewhere on making a health bar for idle.</p>
  
  <p>Thanks in advance.</p>