题解 | #参数解析#

统计大写字母个数

http://www.nowcoder.com/practice/434414efe5ea48e5b06ebf2b35434a9c

while True:
try:
import string
s=str(input())
count=0
for i in s:
if i in string.ascii_uppercase:
count+=1
print(count)
except:
break

全部评论

相关推荐

温柔的小松鼠在刷题:太杂了,三个方向的东西,虽然有关联,但关联性不大
985本硕1个中小厂of...
点赞 评论 收藏
分享
评论
点赞
收藏
分享

创作者周榜

更多
牛客网
牛客网在线编程
牛客网题解
牛客企业服务