def parseNumberFile(file_name):
    for numbers in open(file_name, 'r'):
        items = numbers.split(',')
yield len(items), sum(map(int, items))
Need help fnding the average of a set of numbers in python