浙大Python 第3章-10 统计大写辅音字母 (15 分) 其他 2021-03-08 14:07 0 阅读 原题题目 代码实现 goal = ['A','E','I','O','U'] string = input();strl = len(string);count = 0 for i in range(strl): if string[i] not in goal and 'A'<=string[i]<='Z': count += 1 print("{:d}".format(count)) 提交结果 猜你喜欢