digit +=1else: others +=1print('大写字母 = %d,小写字母 = %d,空格 = %d,数字 = %d,其他 = %d'% (up, low, space, digit, others))while1: s =input('请输入一个字符串:\n')if'-1'ins:# 设置退出循环条件breakSlowSnail(s)# 调用函数...