摘要: #include<stdio.h> void main() { char c; int letter = 0, space = 0, digit = 0, other = 0; printf("请输入需要统计的字段:\n"); while ((c = getchar()) != '\n')//运用g 阅读全文
posted @ 2023-06-19 09:30 放氮气的蜗牛 阅读(85) 评论(0) 推荐(0) 编辑
摘要: import string def SlowSnail(s): up = 0 low = 0 space = 0 digit = 0 others = 0 for c in s: if c.isupper(): up += 1 elif c.islower(): low += 1 elif c.is 阅读全文
posted @ 2023-06-19 00:54 放氮气的蜗牛 阅读(414) 评论(0) 推荐(0) 编辑