title: How can I return both a string and an integer value from a method?
body: <p>I am having a hard time figuring out how to return my function with a "%" sign.</p>
  
  <p>Here is what I have: </p>
  
  <pre><code>def calculate(string):
      A = string.count("A")
      D = string.count("D")
      x = A + D
      answer = (x / len(string)) * 100
      return int(answer)
  </code></pre>
  
  <p>I want it to return the final answer, but with a percentage sign next to it, like '65%' for example</p>
  
  <p>I tried these:</p>
  
  <pre><code>return int(answer) + "%"
  return int(answer) and "%"
  </code></pre>
  
  <p>but none of those really worked and it gave me an error.</p>