WeCodeAcademy
❮ str.lower()str.strip() ❯

str.title()

Capitalises each word.

Group: String

Syntax

s.title()

Example

Examplepython
Open in editor »

← All of Python Reference