摘要: n = int(input())count = 0while (n != 1): lenth = list(str(n)) n = 0 for i in lenth: n = n + int(i)*int(i) count = count + 1 if count > 100: breakif n 阅读全文
posted @ 2021-09-15 19:31 罗逸凡 阅读(40) 评论(0) 推荐(0)