Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Administrator
/
lesson7_6
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
7c191959
authored
Mar 20, 2021
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
save project
parent
d7497f61
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletions
diy4.py
diy4.py
View file @
7c191959
...
...
@@ -14,6 +14,10 @@ for i in message:
key_message
=
key_message
+
text
noise
=
"科技发达开发环境就是发动机负荷的接口返回的接口返回东京而后人今儿个获得官方电话发给官方电话发给规划风格化风格化感动和关怀"
list_message
=
list
(
key_message
)
list_message
.
insert
(
5
,
noise
)
index
=
random
.
randint
(
0
,
len
(
key_message
))
list_message
.
insert
(
index
,
noise
)
result_message
=
""
.
join
(
list_message
)
print
(
result_message
)
\ 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