title: How to sum up all numbers contained in user input from a list
body: <p>I am searching for an algorithm, which gets user input with a few numbers and then the result should be the sum of all those numbers printed on the console.<br>
  I know how to make the list and print it, but I can't select each number and add them together to get a final result. </p>
  
  <pre><code>costs = input('Enter the exspenses: ')                                      
  costlist = costs.split()                                                    
  for each_number in costlist:                                                  
    total = (int(costlist.index(each_number))+1)+                                
    print()
  </code></pre>
  
  <p>I know that something doesn't need to be here and that the total string isn't finished, but I think I'm somewhere close to the solution.</p>