摘要: sushu=[] for i in range(100,201): for j in range(2,i): if i%j==0: break if i==j+1: sushu.append(i) print(sushu) # 结果:[101, 103, 107, 109, 113, 127, 131, 137, 139,... 阅读全文
posted @ 2018-01-06 20:48 耐烦不急 阅读(19601) 评论(0) 推荐(0) 编辑