Q. Which function is used to get the length of a string in Python?
β
Correct Answer: (B)
len()
Explanation: The len() function is used to get the length of a string in Python.