Answers for "python count uppercase letters in string"

0

python - how many letters are capital in a string

def n_upper_chars(string):
    return sum(map(str.isupper, string))
Posted by: Guest on June-08-2021
2

python method to check for uppercase character

a="DEMO"
print(a.isupper())
Posted by: Guest on August-07-2020

Code answers related to "python count uppercase letters in string"

Python Answers by Framework

Browse Popular Code Answers by Language