Commit e873b954 by BellCodeEditor

auto save

parent 6ef32cfd
Showing with 14 additions and 12 deletions
......@@ -117,6 +117,19 @@ for n in range(c+1,d):
print(str(n)+"数是质数")
'''
'''
11、#判断用户输入2~99(包含2和99)之间的任意以数字,判断此数是否为质数
n = int(input("数值:"))
f = True
for i in range(2,n):
if n/i == n//i:
print(n,"No")
f = False
break
if f:
print(n,"Yes")
'''
'''
......@@ -180,18 +193,7 @@ while i <= 2187:
print(s)
'''
'''
11、#判断用户输入2~99(包含2和99)之间的任意以数字,判断此数是否为质数
n = int(input("数值:"))
f = True
for i in range(2,n):
if n/i == n//i:
print(n,"No")
f = False
break
if f:
print(n,"Yes")
'''
'''
12#此次编程大赛中,获得一等奖的同学有:小张、小王、小强、小李、小周、小芳、小兰,编程实现输入某个名字进行查找,是否在一等奖的名单里
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment