ID EN
Built-in Types

istitle

Python 3.11

Return True if the string is a titlecased string and there is at least one character, for example uppercase characters may only follow uncased characters and lowercase characters only cased ones. Return False otherwise.

Syntax

PYTHON
str.istitle()