in Python by
Q:

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.

Click here to read more about Python
Click here to read more about Insurance

Related questions

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