count lower case in string python code example
Example: Count lower case characters in a string
def n_lower_chars(string):
return sum([int(c.islower()) for c in string])
def n_lower_chars(string):
return sum([int(c.islower()) for c in string])