title: I am getting a ValueError for the line 4
body: <p>Getting value error on code line 4.</p>
  <pre><code>n = int(input(&quot;enter number of students: &quot;))
  list1=[]
  for i in range(0,n):
      ele=int(input(&quot;enter the score of the student: &quot;))
      list1.append(ele)
  list1.sort()
  print(&quot;the runner up is: &quot;, list1[-2])
  </code></pre>