python find lowercase in string code example
Example 1: how to check if a letter is lowercase in python
for c in s:
if c.islower():
print c
Example 2: python string to lower
str = 'heLLo WorLD'
print(str.lower())
# hello world
for c in s:
if c.islower():
print c
str = 'heLLo WorLD'
print(str.lower())
# hello world