py
2026-02-22 17:11:55
发布于:浙江
1阅读
0回复
0点赞
def is_pal(x):
if int(str(x):-1) == x:
return True
return False
def is_prime(x):
if not(x%2):
return False
max_number=int(x**0.5)+1
for i in range(3,max_number,2):
if not(x%i):
return False
return True
n=int(input())
count=0
for i in
这里空空如也





有帮助,赞一个