title: How to print multiple non-consecutive values from a list with Python 3.5.1
body: <p>I have created a list and want to choose a handful of items to print from the list. Below, I'd just like to print out "bear" at index 0 and "kangaroo" at index 3. My syntax is not correct:</p>
  
  <pre><code>&gt;&gt;&gt; animals = ['bear', 'python', 'peacock', 'kangaroo', 'whale', 'platypus']
  &gt;&gt;&gt; print (animals[0,3])
  </code></pre>
  
  <blockquote>
    <p>Traceback (most recent call last):   File "", line 1, in
     print (animals[0,3]) TypeError: list indices must be integers
    or slices, not tuple</p>
  </blockquote>
  
  <p>I tried with a space between the indexes but it still gives an error:</p>
  
  <pre><code>&gt;&gt;&gt; print (animals[0, 3])
  </code></pre>
  
  <blockquote>
    <p>Traceback (most recent call last):   File "", line 1, in
     print (animals[0, 3]) TypeError: list indices must be
    integers or slices, not tuple</p>
  </blockquote>
  
  <p>I am able to print a single value or a range from 0-3, for example, with:</p>
  
  <pre><code>&gt;&gt;&gt; print (animals [1:4])
  ['python', 'peacock', 'kangaroo']
  </code></pre>
  
  <p>How can I print multiple non-consecutive list elements?</p>