title: Printing each item from a list and its index, printing the index first then the item
body: <p>Print each item in the list [&quot;The Walking Dead&quot;, &quot;Entourage&quot;, &quot;The Sopranos&quot;, &quot;The Vampire Diaries&quot;] and its index.  Make sure to print its index first.  Then, print the movie name.</p>
  <p>I am taking a python course in Udemy and this one of the tasks.  I keep getting an incorrect output.  I believe its because they want the output in a list.  This is the code I am inputing, but I am not sure how to get the output in a list.</p>
  <pre><code>x = [&quot;The Walking Dead&quot;, &quot;Entourage&quot;, &quot;the sopranos&quot;, &quot;The Vampire Diaries&quot;]
  index= 0
  for i in x:
      print(index, i)
      index += 1
      
  </code></pre>