![subject](/tpl/images/cats/informatica.png)
Computers and Technology, 18.01.2020 04:31 aydanbelle
Write a class called person that has two data members - the person's name and age. it should have an init method that takes two values and uses them to initialize the data members. write a separate function (not part of the person class) called basic_stats that takes as a parameter a list of person objects and returns a tuple containing the mean, median, and mode of all the ages. to do this, import the statistics library and use its built-in mean, median and mode functions. your basic_stats function should return those three values as a tuple, in the order given above. for example, it could be used as follows: p1 = person("kyoungmin", 73) p2 = person("mercedes", 24) p3 = person("avanika", 48) p4 = person("marta", 24) person_list = [p1, p2, p3, p4] print(basic_stats(person_list)) # should print a tuple of three values the files must be named: std_dev. py
![ansver](/tpl/images/cats/User.png)
Answers: 3
![](/tpl/images/ask_question.png)
![](/tpl/images/ask_question_mob.png)
Another question on Computers and Technology
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 22.06.2019 18:30
All of the following are characteristics that must be contained in any knowledge representation scheme except
Answers: 3
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 23.06.2019 08:00
The managing director of a company sends a christmas greeting to all his employees through the company email. which type of network does he use? he uses an .
Answers: 3
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 23.06.2019 16:30
If i wanted to include a built-in calendar in a document, what option could i select? draw table insert table insert chart quick tables
Answers: 1
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 23.06.2019 21:30
Examine the list below. which factors positively affect lifetime income? check all that apply.
Answers: 1
You know the right answer?
Write a class called person that has two data members - the person's name and age. it should have an...
Questions
![question](/tpl/images/cats/mat.png)
Mathematics, 01.07.2020 19:01
![question](/tpl/images/cats/health.png)
Health, 01.07.2020 19:01
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/istoriya.png)
![question](/tpl/images/cats/en.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 01.07.2020 19:01
![question](/tpl/images/cats/biologiya.png)
Biology, 01.07.2020 19:01
![question](/tpl/images/cats/en.png)
English, 01.07.2020 19:01
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/istoriya.png)
History, 01.07.2020 19:01
![question](/tpl/images/cats/mat.png)
Mathematics, 01.07.2020 19:01
![question](/tpl/images/cats/mat.png)
Mathematics, 01.07.2020 19:01
![question](/tpl/images/cats/mat.png)
Mathematics, 01.07.2020 19:01
![question](/tpl/images/cats/biologiya.png)
Biology, 01.07.2020 19:01
![question](/tpl/images/cats/biologiya.png)
Biology, 01.07.2020 19:01
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 01.07.2020 19:01
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 01.07.2020 19:01