FAQ: Statistical Concepts - Sample Mean and Population Mean

This community-built FAQ covers the “Sample Mean and Population Mean” exercise from the lesson “Statistical Concepts”.

Paths and Courses
This exercise can be found in the following Codecademy content:

Data Science

FAQs on the exercise Sample Mean and Population Mean

Join the Discussion. Help a fellow learner on their journey.

Ask or answer a question about this exercise by clicking reply (reply) below!

Agree with a comment or answer? Like (like) to up-vote the contribution!

Need broader help or resources? Head here.

Looking for motivation to keep learning? Join our wider discussions.

Learn more about how to use this guide.

Found a bug? Report it!

Have a question about your account or billing? Reach out to our customer support team!

None of the above? Find out where to ask other questions here!

Hello, I found strange the use of ‘print “”’, when in Python3 it should be ‘print()’. Also, I never saw this ‘{}’ in Python3 nor the ‘.format()’ method.

Can someone explain me what is all this? Have I passed to Python2 suddenly without knowing? Why is not ‘print(“whatever " + value + " continue the text if you want to”)’? I mean, what’s the point on using the brackets and ‘.format()’ method? How did they make the print work without calling it as a function?

Thank you


This is normal for Codeacademy, part of their tasks are outdated or/and buggy. They suggested not supported terminal commands and stuff. Support doesn’t know ■■■■ about this and community forum is dead. I plan to complete somehow this data science course and find an education platform that cares more about their content and user experience.

1 Like