题目描述
统计一个英文句子中每个大写字母出现的个数,句子以'*'作为结束标志。
一行英文
输出
按英文字母顺序分别输出每个大写字母的个数(若是0个就不用输出)
样例输入 Copy
THISISAGOODBOOK!*
样例输出 Copy
A:1
B:1
D:1
G:1
H:1
I:2
K:1
O:4
S:2
T:1
参考程序和运行结果
特别声明:以上内容(如有图片或视频亦包括在内)为自媒体平台“网易号”用户上传并发布,本平台仅提供信息存储服务。
Notice: The content above (including the pictures and videos if any) is uploaded and posted by a user of NetEase Hao, which is a social media platform and only provides information storage services.