0 votes
in Python by

Can you please help to clarify what does the Title() method do in Python Language?

1 Answer

0 votes
by

Python Language provides the title() method to convert the first letter in each word to capital format while the rest turns to Lowercase.

#Example

str = 'lEaRn Python Language'

print(str.title())

The output:

Learn Python Language

Now, check out some general purpose Python Language interview questions.

Related questions

0 votes
asked Aug 29, 2020 in Python by Robindeniel
0 votes
asked Aug 30, 2020 in Python by sharadyadav1986
...