title: How do I fix TypeError: 'int' object is not iterable?
body: <p>I am trying to write a program that allows you to enter the number of students in a class, and then enter 3 test grades for each student to calculate averages.  I am new to programing and I keep getting an error that I don't understand what it means or how to fix it.  This is what I have so far:</p>
  
  <pre><code>students=int(input('Please enter the number of students in the class: '))
  
  for number in students:
          first_grade=(input("Enter student's first grade: "))
          second_grade=(input("Enter student's second grade: "))
          third_grade=(input("Enter student's third grade: "))
  </code></pre>