i=j=1 : for i in range(2,100,1): : for j in range(2,int(i/j)+1): : if(not i%j): : break : if j>i**0.5: : print('%d is prime'%(i)) 這裡用的 ...
確定! 回上一頁