Answers for "how to get only uppercase out ascii_letters python"

9

how do you change a string to only uppercase in python

original = Hello, World!

#both of these work
upper = original.upper()
upper = upper(original)
Posted by: Guest on March-12-2020
-1

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

Code answers related to "how to get only uppercase out ascii_letters python"

Python Answers by Framework

Browse Popular Code Answers by Language