def average2(*args): listofvalues = [] for item in args: listofvalues.append(item) return sum(listofvalues) / len(listofvalues)