title: Python Nested List: How to print specific elements and append to each sublist
body: <pre><code>quizes = [[&quot;Andrew&quot;], [&quot;Amy&quot;], [&quot;Jared&quot;], [&quot;Bob&quot;], [&quot;Sarah&quot;]]
  
  for i in range(len(quizes)):
      grade = eval(input(&quot;Enter&quot;, quizes[i][0],&quot;grade:&quot;))
      quizes[i].append(grade)
      print(quizes[i])
  </code></pre>
  <p>Hey guys so I been working on this for the past week and can't solve this. I am trying to get my program to ask &quot;Enter [person1] grade: &quot; and so on and append a second element to each sublist which will be their grade and then print the contents of the entire list. Any help is appreciated</p>