title: How i can print difference with percentage
body: <p>I am doing text game practice for school and we have to make four different functions to it. I have done health points system, and now i would like to print how many percentages player have used of total amounta.</p>
  
  <p>This is my hp system:</p>
  
  <pre><code>def hela(player_health, hit):
      return player_health - hit
  
  player_health_points = 15
  dog_hit_value = 4
  pistol_hit_value = 15
  brasnuckles_hit_value = 3
  punch_hit_value = 1
  kick_hit_value = 2
  player_health_points = hela(player_health_points, dog_hit_value,)
  player_health_points = hela(player_health_points, brasnuckles_hit_value)
  print('You have ' + str(player_health_points) + ' HP left!')*
  </code></pre>
  
  <p><strong>And this is what i have done now and lost my rest brains with it:</strong></p>
  
  <pre><code>def hp_left_percentage(x,y):
      vastaus = x - y
      return vastaus
  
  health = 16
  tulos = hp_left_percentage(health,player_health_points)
  print(tulos)
  </code></pre>
  
  <p><strong>Questions:</strong></p>
  
  <ul>
  <li><p>Why i have to add one for def hp_left_percentage health getting it show right value?</p></li>
  <li><p>Now def hp_left_percentage shows me how much player have healt, with numeric amount. How i can get function print it percentages?</p></li>
  </ul>
  
  <p>I hope you can understand what i mean :)</p>