sum of n odd numbers in python using for loop