Question Detail
Question
What is the primary purpose of the
len() function when used with a string in Python?
Correct Answer
Option C is the correct answer.
Detailed Explanation
Page 8, under 'Measuring Text', defines it: 'The len() function counts the number of characters in a string.'
Hint
The name 'len' is short for what common measurement term?