Compute mean of variables stored in python list

Suppose I have a python list containing a number of pytorch variables. I want to compute their mean; something like numpy.mean(python_list) when using numpy. How could I do that?

For example, a = torch.randn(1, 3)
The mean is torch.mean(a)

I think I was unclear. What is want is to make a new variable whose data is the average of data present in a collection of variables.