Which string method, out of the following will always break the string into 3 parts in Python?
Show answerHide answer
Correct answer: (B) Partition
Explanation
str.partition(sep) always returns a 3-tuple: the part before the separator, the separator, and the part after it. split() can return any number of parts.