sum of integers python code