title: TypeError: 'int' object does not support item assignment, I don't understand where my error is
body: <pre><code>name=0
  gender=0
  gpa=0
  k=1
  
  num= float(input("how many student's would you like to process?  "))
  
  while k&lt;num:
      name[k]= (input("enter student's first and last name: "))
      print (name[k])
      gender[k]=(input("enter student's gender: "))
      gpa[k]=(input("enter student's grade point average: "))
      print (name[k]," is a ",gender[k]," with a G.P.A of ",gpa[k])
      k=k+1
  </code></pre>
  
  <p>Also, if you could help point me in the direction of how to terminate the loop when a gender of "unknown" is input it would be greatly appreciated.</p>