Home »
Python »
Python Dictionary MCQs
Which function gives the total number of elements in the list?
24. Which function gives the total number of elements in the list?
- total()
- sum()
- len()
- keys()
Answer: C) len()
Explanation:
The len() functions help you to get the total number of elements in the list.