+ 6
Explain the answer of this question
Question👇 print('abef'.partition('cd')) Answer👇 ('abef','','')
3 Respostas
+ 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
😊🤗