for i in range(2,100): for j in range(2,i-1): if i % j == 0 : break else: print(i) break大佬们,这个为什么会漏掉3和5的倍数