文章
67
粉丝
207
获赞
29
访问
36.4k
while True: try: n = int(input()) sum = 0 for i in range(1,n+1): if i%7!=0 and i%10!=7 and i/10!=7: sum = sum + i*i print(sum) except: break
登录后发布评论
暂无评论,来抢沙发