title: AttributeError: 'int' object has no attribute 'setText'
body: <p>I have to write an archery scoring program and I keep getting this error:
  AttributeError: 'int' object has no attribute 'setText'</p>
  
  <pre><code>def main():
      win = gameWindow()
      currentShot, overallScore = scoreOverlay(win)
  
      shot = 0
      totalScore = 0
      for i in range(5):
          p = win.getMouse()
          p.draw(win)
          x = p.getX
          y = p.getY
          score = scoring(p)
  
      currentShot.setText('Current Shot: {0:1}'.format(scoring))
      overallScore = 'overallScore' + 'currentShot'
      overallScore.setText('Total{0:1}'.format(overallScore))
  
      main()
  </code></pre>
  
  <p>Any ideas how to fix this? I am out of my depth on this one.
  Thank you in advance for any help you may be able to provide.</p>