Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Administrator
/
lesson7_2
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
46be708e
authored
May 25, 2024
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
auto save
parent
027d3568
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
3 deletions
diy2.py
diy2.py
View file @
46be708e
message
=
"诺依,周末一起去看动漫展吧!"
import
random
message
=
"原神,启动!"
strnum
=
"我要玩秘密世界我去太好玩了抄袭的我我实施姐姐放入一个人头了一波咯顶顶顶我觉得既然对话框是否污泥那几欧吉安东欧顶我顶我顶我顶我顶我顶我顶"
# 请对message进行遍历,取出所有元素
# 请对message进行遍历,取出所有元素
new_list
=
""
for
i
in
message
:
str1
=
random
.
choice
(
strnum
)
str2
=
random
.
choice
(
strnum
)
str3
=
i
+
str1
+
str2
print
(
str3
)
new_list
=
list
()
\ 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