python check if a letter is lowercase code example Example: python how to detect if uppercase is used in input isupper() islower()