题解 | #统计大写字母个数#
统计大写字母个数
http://www.nowcoder.com/practice/434414efe5ea48e5b06ebf2b35434a9c
while True: try: list = [i for i in input() if i.isupper()] print(len(list)) except: break两句话整明白了
统计大写字母个数
http://www.nowcoder.com/practice/434414efe5ea48e5b06ebf2b35434a9c
while True: try: list = [i for i in input() if i.isupper()] print(len(list)) except: break两句话整明白了
相关推荐