Categories

Aug 30 in Python
Q:

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

1 Answer

Aug 30

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

Madanswer
Aug 29 in Python
Aug 29 in Python
Aug 30 in Python
...