python check character is lower 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: how to check if a string is lowercase in python
string = "python"
string.islower()
#returns true or false
#or we can use this
string == string.lower()
#returns true or false