Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Administrator
/
lesson14_1
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
e873b954
authored
Feb 24, 2021
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
auto save
parent
6ef32cfd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
12 deletions
biancheng.py
biancheng.py
View file @
e873b954
...
...
@@ -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#此次编程大赛中,获得一等奖的同学有:小张、小王、小强、小李、小周、小芳、小兰,编程实现输入某个名字进行查找,是否在一等奖的名单里
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment