Computer Science
Which method should I use to convert String "Python programming is fun" to "Python Programming Is Fun" ?
- capitalize()
- title()
- istitle()
- upper()
Python String Manipulation
21 Likes
Answer
title()
Answered By
3 Likes
Related Questions
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.
Guess the correct output of the following String operations.
str1 = 'Wah' print(str1*2)
What is the output of the following string operation?
str = "My roll no. is 12" print(str.isalnum())