title: Python - Sorting List of Ints User Input
body: <p>I am having an issue with my input method, I am trying to get a list of ints seperated by spaces. My code is below:</p>
  
  <pre><code>def numberStore():
      numberList = input("Enter list of numbers seperated by spaces ").split(" ")
      print("The lowest number is" , listLowestNumber(numberList))
  </code></pre>
  
  <p>I then have a function to return the lowest number of the list that has been input.</p>
  
  <pre><code>def listLowestNumber(list):
      list.sort()
      return list[0]
  </code></pre>
  
  <p>However when I execute the function numberStore, it only seems to sort the numbers by the first digit, for example entering the values 40 9 50 will return a value of 40 as the lowest number. Thanks for any help!</p>