CBSE Class 11 Computer Science Question 24 of 88

Tuples and Dictionary — Question 4

Back to all questions
4
Question

Question 4

Which function returns the number of elements in the tuple?

  1. len()
  2. max()
  3. min()
  4. count()
Answer

len()

Reason — The len() function returns the number of elements in the tuple.