in Python by

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

1 Answer

0 votes

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


str = 'lEaRn Python Language'


The output:

Learn Python Language

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