摘要: # coding:utf-8 num = []; i = 2 for i in range(2, 1000): j = 2 for j in range(2, i): if (i % j == 0): break else: num.append(i) # 打印输出 print(num) [2, 3 阅读全文
posted @ 2024-01-12 11:04 多测师_树哥 阅读(141) 评论(0) 推荐(0) 编辑