Computer Science
Which of the following functions will always return a tuple of 3 elements?
- find()
- index()
- partition()
- split()
Python String Manipulation
9 Likes
Answer
partition()
Answered By
2 Likes
Related Questions
Which of the following functions will return the string with every 'P' replaced with a 'z'?
Which of the following functions will return a list containing all words of the string?
What is the output of the following code?
str1 = "Mission 999" str2 = "999" print(str1.isdigit(),str2.isdigit())
Choose the correct function to get the ASCII code of a character.