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?

  1. A.

    sum()

  2. B.

    mode()

  3. C.

    mean()

  4. 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.

Explore the full course: Rssb Senior Computer Instructor