+ 6
Explain the answer of this question
Questionđ print('abef'.partition('cd')) Answerđ ('abef','','')
3 Answers
+ 4
The partition() method searches for a specified string, and splits the string into a tuple containing three elements. The first element contains the part before the specified string. The second element contains the specified string. The third element contains the part after the string. As the string 'cd' is not there it returns the same...
+ 6
Sarada lakshmi... thank you so much.
now, I understood đ
+ 1
đđ€