def arithmetic_mean(first, *values): """ This function calculates the arithmetic mean of a non-empty arbitrary number of numerical values """
return (first + sum(values)) / (1 + len(values))
x= [('a', 232), ('b', 343), ('c', 543), ('d', 23)] y= [[('a', 232), ('b', 343), ('c', 543), ('d', 23)]]
how to pass x and y inside arithmetic_mean. can it be possible through zip method?