find no of uppercase in strinng python code example
Example 1: how do you change a string to only uppercase in python
original = Hello, World!
#both of these work
upper = original.upper()
upper = upper(original)
Example 2: python method to check for uppercase character
a="DEMO"
print(a.isupper())