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