Problems with compute mean and var in exercise 1, week 1, lab2

Dear colleagues,

I applied the mean and variance as in Python defined,
I also did not have a problem with the notation on my local laptop.

I get stuck, let me know, why I have such problems.

Please give me a hint.



I got it, while I have to check the loop over n!