average of n numbers python