title: Why doesn't the while loop end?
body: <p>This is the code I am trying to run...</p>
  <pre><code>scoreCount = int(input(&quot;How many scores do you want to record?&quot;))
  recordedValues = 0
  averageScore = totalScore/scoreCount
  highestScore = 0
  totalScore = 0
  </code></pre>
  <h1>This is where I believe the code stops working...</h1>
  <pre><code>while recordedValues &lt;= scoreCount:
      score = int(input(&quot;\n\nEnter Score,:&quot;)
      if type(score)== int:
                  totalScore == totalScore + score
                  recordedValues == recordedValues + 1
      if score &gt;= highestScore:
                  highestScore = score
      else:
                  print(&quot;\n\nThe scores are not integer values&quot;)
                  quit()
  </code></pre>
  <p>How can I get the while loop to end and have the average score/highest score/recorded values displayed?</p>
  <h1>Edit: Thanks for the help, I have solved the problem.</h1>