Hello, I tried to define the calculator code and I am not getting my desired results.

CODE:

```
import numpy as np
def calculate(list):
if len(list)!=9:
raise ValueError("List must contain nine numbers.")
else:
a=np.reshape(list,(3,3))
b=(np.mean(a,axis=0).tolist(),np.mean(a,axis=1).tolist(),np.mean(a))
c=(np.var(a,axis=0).tolist(),np.var(a,axis=1).tolist(),np.var(a))
d=(np.std(a,axis=0).tolist(),np.std(a,axis=1).tolist(),np.std(a))
e=(np.max(a,axis=0).tolist(),np.max(a,axis=1).tolist(),np.max(a))
f=(np.min(a,axis=0).tolist(),np.min(a,axis=1).tolist(),np.min(a))
g=(np.sum(a,axis=0).tolist(),np.sum(a,axis=1).tolist(),np.sum(a))
calculations = {"mean":[b],"variance":[c],"standard deviation":[d],"maximum":[e],"minimum":[f],"sum":[g]}
return calculations
```

Can I get help with debugging this please and thank you

**Your browser information:**

User Agent is: `Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.101 Safari/537.36`

.

**Challenge:** Mean-Variance-Standard Deviation Calculator

**Link to the challenge:**