#coding=utf-8
for i in range(2,101): j = 2 while(i%j != 0): j +=1 if j == i: print(i)
本文共 157 字,大约阅读时间需要 1 分钟。
#coding=utf-8
for i in range(2,101): j = 2 while(i%j != 0): j +=1 if j == i: print(i)
转载于:https://www.cnblogs.com/maxiaotu/p/6816837.html