Which of the following functions is not defined in the Python module -…
2026
Which of the following functions is not defined in the Python module - statistics?
- A.
sum()
- B.
mode()
- C.
mean()
- D.
median()
Attempted by 412 students.
Show answer & explanation
Correct answer: A
The correct answer is sum().
In Python, sum() is a built-in function, not part of the statistics module. The statistics module includes functions like mean(), median(), mode(), etc., but not sum().
Thus, sum() is not defined in the statistics module.