LearnFrenzy
Sign in Take a free test

Tuples · Tuples MCQ · Question 3

How many methods does a tuple have? Answer, explanation & discussion

  • MCQ
  • Medium
  • 0 comments
  • Answer explained
  • Moderated community
Question 3 Back to Exercise

Which two methods do tuple objects provide?

  • A append() and pop()
  • B sort() and reverse()
  • C find() and replace()
  • D count() and index() Correct
Correct Answer: Option D

Since a tuple cannot change, only the read-only methods count() and index() exist.

Discussion & Comments 0

Share your method, a shortcut, or ask about a step you didn't follow.

No comments yet. Be the first to share your solution!

Post your comment

Comments appear after a quick review by our team.

Search LearnFrenzy

Esc

Quick links