Write a user defined function to convert a string with more than one word into title case string where
string is passed as parameter. (Title case means that the first letter of each word is capitalised)
Answers
Answered by
3
Answer:
s=input('Enter a string: ')
print (s.title())
Explanation:
(This is done using the simplest method, i.e., using a built in title function in python. There are other methods to do this too)
Attachments:
Similar questions
Math,
4 months ago
Business Studies,
9 months ago
India Languages,
9 months ago
Computer Science,
1 year ago
Math,
1 year ago
Math,
1 year ago