WK 20 : Expected value of sample variance

Hi Team

I have a doubt regarding calculation of E[S^2]. Below is my code.I am getting 1.33 as expected value of sample variance but Sir says it as 1.944.Can you help me find bug in my code

The same logic works well for continuous distribution.I see 0.667 which is close to the value sir has mentioned(0.665)

upper limit for randint is one above the largest, so change randint(1, 6, 3) to randint(1, 7, 3).