title: How to make the items in a list run forever - python
body: <pre><code>my_favourite_fruits = [&quot;apple&quot;,&quot;orange&quot;,&quot;pear&quot;]
  i = 0
  while(True):
    print(my_favourite_fruits[i])
    i = i+1
  </code></pre>
  <p>This code currently prints the 3 list items, then crashes because there are no more list items to be printed. How do I get these to be printed over and over, using a while loop?</p>