check if character is lower or upper python code example Example: how to check if a letter is lowercase in python for c in s: if c.islower(): print c