title: Why doesn't list have safe "get" method like dictionary?
body: <p>Why doesn't list have a safe "get" method like dictionary?</p>
  
  <pre><code>&gt;&gt;&gt; d = {'a':'b'}
  &gt;&gt;&gt; d['a']
  'b'
  &gt;&gt;&gt; d['c']
  KeyError: 'c'
  &gt;&gt;&gt; d.get('c', 'fail')
  'fail'
  
  &gt;&gt;&gt; l = [1]
  &gt;&gt;&gt; l[10]
  IndexError: list index out of range
  </code></pre>