title: How to use variables in text function in pgzero
body: <p>In my game, I want to make a score function. How to make it to display variables in the pgzero text funtion</p>
  <p>the code to display text is:
  <code>screen.draw.text(score, (70, 30), color=&quot;orange&quot;)</code>
  but an error comes up like this: <code>AttributeError: 'int' object has no attribute 'replace'</code></p>
  <p>how can I display a variable in the <code>screen.draw.text</code> function?</p>