N
N
Nikita Makaryin2018-07-09 17:12:38
Python
Nikita Makaryin, 2018-07-09 17:12:38

Why does the python 3.6 interpreter throw an error when working with the 'ststistics' module?

import statistics
res = statistics.mean(1,4,6)
print(res)

Error:
AttributeError: module 'statistics' has no attribute 'mean'

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question