isupper islower and istitle String Functions in Python