Policz znaki obudowy w ciągu

def n_upper_chars(string):
    return sum([int(c.isupper()) for c in string])
Friendly Flatworm