title: Python Iterating over a list
body: <p>Assign <code>sum_extra</code> with the total extra credit received given list <code>test_grades</code>. Full credit is 100, so anything over 100 is extra credit. For the given program, <code>sum_extra</code> is 8 because 1 + 0 + 7 + 0 is 8. Sample output for the given program:
  Sum extra: 8</p>
  
  <p>Forgive me I am a starter on coding and really bad at it!
  And this is my code (that is not working) Please help!: </p>
  
  <pre><code>test_grades = [101, 83, 107, 90]
  
  sum_extra = -999 # Initialize 0 before your loop
  
  while test_grades &gt; 100:
      test_grades = test_grades - 100
      sum_extra = test_grades[0:3]
  
  for test_grades[0:3] &gt; 100:
      test_grades = test_grades - 100
      sum_extra= test_grade[0] + test_grades[1] + test_grades[2] + test_grades[3]
  
  print('Sum extra:', sum_extra)
  </code></pre>
  
  <p>Which of my two loops would be better for this question and how can i edit them so that they become better? Because i can tell they are not going to work! any help is wanted! thank you! :)</p>