sum of two numbers in python using for loop