[python] add sum of integers