Which of the following is not an example of a collection in Python?

2026

Which of the following is not an example of a collection in Python?

Answer: B. bool

  1. A.

    list

  2. B.

    bool

  3. C.

    tuple

  4. D.

    str

Attempted by 590 students.

Show answer & explanation

Correct answer: B

Explore the full course: Rssb Senior Computer Instructor

Loading lesson…