String Methods
istitle()
Check whether cased words follow title case.
str.istitle()
Check whether cased words follow title case.
Result
Returns
True when the string has at least one cased character and each word follows title-case rules; otherwise False.
Run it
Try it
Run it and change it
text = "The Quick Fox" print(text.istitle())
Output
Press Run to see what it prints.