第三章 7-9 统计大写辅音字母

s=input()
cnt=0
for i in s :
    if i.isupper():
        if not i in 'AEIOU':
            cnt +=1
print(cnt)
发布了80 篇原创文章 · 获赞 6 · 访问量 7632

猜你喜欢

转载自blog.csdn.net/qq_33749437/article/details/104886483