首页 > 其他分享> > 牛客华为机试HJ84 牛客华为机试HJ84 2022-04-22 07:35:19 作者:互联网 原题传送门 1. 题目描述 2. Solution import sys def solve(s): cnt = 0 for c in s: if c.isupper(): cnt += 1 print(cnt) for line in sys.stdin: s = line.strip() solve(s) 标签:cnt,原题,传送门,sys,牛客,solve,机试,HJ84,line 来源: https://www.cnblogs.com/junstat/p/16177299.html