python detect uppercase i and lowercase L code example Example: how to check if a letter is lowercase in python for c in s: if c.islower(): print c