def isprime(m):
i=2
while i<=int(m**0.5):
if:
return False
i+=1
return True
for i in range(4, 1001, 2):
flag=False
for j in range(2, i):
print(str(i)+"验证成功")
flag=True
break
print(str(i)+"验证失败")
微信扫码预览、分享更方便