Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python - how many letters are capital in a string

def n_upper_chars(string):
    return sum(map(str.isupper, string))
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #python #letters #capital #string
ADD COMMENT
Topic
Name
6+1 =