Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Administrator
/
lesson7_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
52e6ee34
authored
Mar 02, 2025
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
auto save
parent
ba255c88
Pipeline
#12801
failed in 0 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
43 additions
and
5 deletions
1.py
2.py
diy1.py
1.py
0 → 100644
View file @
52e6ee34
import
random
qq
=
"henry=SB"
gg
=
random
.
choices
(
qq
)
print
(
gg
)
\ No newline at end of file
2.py
0 → 100644
View file @
52e6ee34
import
random
key
=
"mcdknvcndavnoan次哦能从v哦风女哦i内哦牛"
message
=
"henry没实力"
key_message
=
""
for
i
in
message
:
str1
=
i
str2
=
random
.
choice
(
key
)
str3
=
random
.
choice
(
key
)
texw
=
str1
+
str2
+
str3
key_message
=
key_message
+
texw
print
(
key_message
)
\ No newline at end of file
diy1.py
View file @
52e6ee34
students
=
[
"悟空"
,
"小贝"
,
"八戒"
,
"波奇"
]
#import random
qq
=
"henry=SB"
j
=
"henry=FW"
gg
=
random
.
choices
(
qq
)
r
=
random
.
choices
(
qq
)
qw
=
len
(
j
)
o
=
0
while
o
<
qw
:
ll
=
j
[
o
]
o
+=
1
q
=
o
for
i
in
j
:
print
(
i
)
tt
=
o
+
gg
+
r
+
i
+
nn
print
(
tt
)
# 八戒因为要回老家,转学了,请将八戒从班级列表名单中删除
?
# 班上来了一个新同学,名叫"诺依",请将"诺依"加入到班级名单里面
?
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