title: Python Linked list minimum value
body: <p>I am trying to find the minimum value in the list without having to use the min function and just by comparing the first and the next element through the list.
  This is my attempt:</p>
  
  <pre><code>def min(self):
      node = self.head               #1st element 
      Min = 0                        #node.next_node is the next element
      while node:
          if node.value &gt; node.next_node.value:
              Min = node.next_node.value
          else:
              Min = node.value
  </code></pre>
  
  <p>i am just comparing the first and the second element. how do i traverse through the entire list</p>