- title() is a python in-build function which are used to titled the string or it can change the string into title format.
Example
string is "my title"
then it will become "My Title"
program-
s="this is a string 123"
print(s.title())
s="THIS IS A STRING"
print(s.title())
print("Enter string")
s=input()
print("String in title format",s.title())
This Is A String 123
This Is A String
Enter string
program of title in python
String in title format Program Of Title In Python