找素数

def sushu(i):
for m in range(2, i):
if i % m == 0:
return 0
break
else:
return 1
posted @ 2019-08-19 14:14  你爱谈天我爱笑  阅读(139)  评论(0)    收藏  举报