def di(k, n): return str(list(range(n + 1))).count(str(k))a=di(1,12)print(a)输出:5
posted on 2022-06-10 10:26 骄傲的赛亚人 阅读(119) 评论(0) 编辑 收藏 举报
Powered by: 博客园 Copyright © 2024 骄傲的赛亚人 Powered by .NET 9.0 on Kubernetes