浙大版《Python 程序设计》题目集 第3章-10 统计大写辅音字母 (15分)

s = list(input())
count = 0
for each in s:
    if each.isupper():
        if each not in 'AEIOU':
            count += 1
print(count)
发布了33 篇原创文章 · 获赞 0 · 访问量 258

猜你喜欢

转载自blog.csdn.net/weixin_42229583/article/details/104589314