Answers for "python how to check for capital letters"

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 how to check for capital letters"

Python Answers by Framework

Browse Popular Code Answers by Language