checking if any character in a string is uppercase in python code example Example: python how to detect if uppercase is used in input isupper() islower()