title: Finding average?
body: <p>I am new to python, and I wondered if anyone could help me find the average in the following marks list of students?. Please advise as to what I am doing wrong here.</p>
  <pre><code>student_marks = [['Name',  ['A','B','C','D','E']],
                   ['Ankit',  [41, 34, 45, 55, 63]],
                   ['Aravind',[42, 23, 34, 44, 53]],
                   ['Lakshay',[32, 23, 13, 54, 67]],
                   ['Gyan',   [23, 82, 23, 63, 34]],
                   ['Pranav', [21, 23, 25, 56, 56]]
                  ]
  
  for student in student_marks[1:]:
      marks_in_C = student[1][2]
      
      print(marks_in_C, end=&quot; &quot;)
  
  total = sum(marks_in_C)
  
  TypeError: 'int' object is not iterable
  </code></pre>