title: Inclusive range of list Python
body: <p>I'm trying to find the minimum elements within a section of a list. In the following example, a is the start and b is the end. I would like these indexes to partition the list inclusively, so that if the list is [1,2,3,9,4,10] the indexes 1 to 4 would include 2 and 4.</p>
  
  <pre><code>def minimum (a,b,list):
      return min(list[a:b])
  </code></pre>
  
  <p>In other words, is there a way to make <code>list[a:b]</code> inclusive?</p>