#!/usr/bin/python
# -*- coding: UTF-8 -*-
i = 2while(i < 100): j = 2
while(j <= (i/j)): if not(i%j): break
j = j + 1
if (j > i/j) : print i, " 是素数"
i = i + 1
print "Good bye!"
添加回答
举报
0/150
提交
取消