Mary Beth R. answered 06/21/23
MS in Mathematics with Data Science credentials
I wish there was a way to "link" to another answer I gave to a similar question (asked by you) that involved calculating the "standard deviation". Please look at the solution to that one. Because along the way to calculating standard deviation, you need to calculate the mean.
My goal is not to do the work for you, but to show you the tools to do it yourself. Let me know if you need additional help.