Difficulty faced in understanding the concept of sampling distribution

Screen Link:

My Code:

Replace this line with your code

What I expected to happen:

What actually happened:

Replace this line with the output/error

https://app.dataquest.io/m/106/significance-testing/5/permutation-test

@4jvarun

please follow this guideline to format your question, for the community to help you effectively.

Introducing guidelines for all technical questions in our Community

You need to elaborate, if there’s a specific part of content or word or anything else you don’t understand.

Thanks.

Kindly format the question as suggested by @Rucha

The idea behind the concept of sampling distribution is central limit theorem. One of the takeaways from this theorem is that when the number of sample is more than 30, the means are normally distributed/ approach normal distribution.

You can find many resources on the internet that explain this concept.