title: Finding the minimum and maximum in python
body: <p>I have to ask the user to put some numbers and then print the size, sum, average, minimum and maximum. I can get the first 3 things but I'm stuck on the minimum and maximum one. The problem I have is I can't use <code>sort()</code> because I need to make the list an integer one, but you can't use an integer list for <code>split()</code></p>
  
  <p>Here's my code:</p>
  
  <pre><code>    number = raw_input('Enter number:')
      list_of_numbers = number.split()
      tally = 0
      sum = 0
        while number!= '':
          tally = tally + 1
          sum = sum + int(number)
          average = float(sum) / float(tally)
        number = raw_input('Enter number:')
      print "Size:", tally
      print "Sum:", sum
      print "Average:", average
  </code></pre>
  
  <p>Any hints? Thanks</p>