count
= 0
while count
< 5:
print("%d is less than 5" % count
)
count
= count
+ 1
else:
print("%d is not less than 5" % count
)
for num
in range(10,20):
for i
in range(2,num
):
if num
%i
== 0:
j
=num
/i
print '%d 等于 %d * %d' % (num
,i
,j
)
break
else:
print num
, '是一个质数'
转载请注明原文地址: https://mac.8miu.com/read-494025.html