I am trying to figure out how I can count the uppercase letters in a string.
I have only been able to count lowercase letters:
def n_lower_chars(st
This works
s = raw_input().strip() count = 1 for i in s: if i.isupper(): count = count + 1 print count