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