Computer Science, asked by Lovepreet7630, 9 months ago

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 eshxl
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