2018年2月1日

Python2018-字符串中字符个数统计

摘要: 1 编写程序,完成以下要求: 统计字符串中,各个字符的个数 比如:"hello world" 字符串统计的结果为: h:1 e:1 l:3 o:2 d:1 r:1 w:1 1 print("-"*50) 2 print("*"*50) 3 currentstr = input("PLease inp 阅读全文

posted @ 2018-02-01 23:08 克拉波隆方程 阅读(5193) 评论(0) 推荐(0) 编辑

导航