title: Find the minimum value in a python list
body: <p>I want to find the minimum value in a list. I know I can use <code>min()</code>, but I am learning Python and want to implement this for practice on my own:</p>
  
  <pre><code>x=[2,3,5,9,1,0,2,3]
  z=len(x)-1
  i=0
  for i in range(z):
      if x[i]&lt;x[i+1]:
          y=x[i]
      else:
          y=x[i+1]
  print(y)
  </code></pre>
  
  <p>This doesn't find the minimum though. How can I change this to find the minimum of the list <code>x</code>?</p>