DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
4+8 =
Submit