Chapter 7: Problem 6
How do you find the number of elements in a list?
Short Answer
Expert verified
A: The three steps are:
1. Define the list.
2. Use the len() function to find the number of elements.
3. Print the number of elements.