title: Python 2.7 / loop / break is changing my outcome
body: <pre><code>smallest = None
  largest = None
  while True :
      number = raw_input('Enter a number from -10 to 9: ')
      if largest &lt; number :
          largest = number
      if smallest is None :
          smallest = number
      elif number &lt; smallest :
          smallest = number
      if number == 'done': break
  print 'Largest number is: ',largest
  print 'Smallest number is ',smallest
  </code></pre>
  
  <p>I have no idea why my "smallest" is alright while "largest" outcome is always <em>done</em>. I think that "break" is somehow affecting it. Could You point out my mistake?</p>