摘要: 0的个数求解n=int(input()) s=str(n) cnt=0 for i in range(len(s)-1,-1,-1): if s[i]!='0': break cnt+=1 print(cnt)继续鸽鸽。。。 阅读全文
posted @ 2023-03-15 23:04 快乐的乙炔 阅读(0) 评论(0) 推荐(0)