Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Administrator
/
level3-lesson13-diy2
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
e0661183
authored
Jan 11, 2025
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
save project
parent
5ae5014d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
35 additions
and
9 deletions
SB.py
fvfsdvgfstdfchsdgcghsd.py
SB.py
View file @
e0661183
alist
=
[
88
,
75
,
72
,
82
,
90
,
85
,
78
,
91
]
username
=
"python"
userpassword
=
"123456"
n
=
len
(
alist
)
while
True
:
for
i
in
range
(
0
,
n
-
1
):
name
=
input
(
"老刘同事放屁有害"
)
for
j
in
range
(
0
,
n
-
1
):
password
=
input
(
"密码"
)
if
alist
[
j
]
<
alist
[
j
+
1
]:
if
neme
==
username
and
password
==
userpassword
:
alist
[
j
],
alist
[
j
+
1
]
=
alist
[
j
+
1
],
alist
[
j
]
print
(
"登录"
)
print
(
alist
)
break
\ No newline at end of file
if
name
!=
username
:
print
(
"cc费u天天投入一套衣服"
)
print
(
"有乌!"
)
e
\ No newline at end of file
fvfsdvgfstdfchsdgcghsd.py
0 → 100644
View file @
e0661183
def
new_input
():
total
=
[]
while
True
:
unit
=
input
(
'请输入(q退出)'
)
if
unit
==
'q'
:
break
else
:
try
:
unit
=
int
(
unit
)
except
:
print
(
"ruydthuy7f"
)
else
:
total
.
append
(
unit
)
\ No newline at end of file
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