Count lower case characters in a string 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])