title: Finding the lowest value in a list between 2 indices recursively
body: <p>I currently have recursive function</p>
  <pre><code>def RecursiveMin(L):
      if len(L)==2:
          if L[0]&lt;L[1]:
              return L[0]
          else:
              return L[1]
      else:
          X= RecursiveMin(L[1:])
          if L[0]&lt;X:
              return L[0]
          else:
              return X
  </code></pre>
  <p>How can I modify this/create a function to where I can limit the search of the minimum value to be be only between 2 indices in a form like RecursiveMin(L, start, end)?</p>