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
e325c646
authored
3 years ago
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
save project
parent
847fca6d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
diy5.py
diy5.py
View file @
e325c646
import
random
key
=
"
abcdefgnbnbnbnbnbnbnbnb
"
a
=
"
fhjsnfja
"
key
=
"
发货就鸡窝看哦可偏就给我一定能九四及时查看嘿曾几何时比武的☭哦成都被称为
"
a
=
"
额☠而哦☣
"
m
=
"诺依,周末一起去看漫展吧!"
d
=
""
d
=
"
天
"
for
i
in
m
:
str3
=
i
str1
=
random
.
choice
(
key
)
...
...
@@ -10,6 +10,6 @@ for i in m:
text
=
str3
+
a
+
str1
+
str2
d
=
d
+
text
list_sb
=
list
(
d
)
list_sb
.
insert
(
7
,
a
)
list_sb
.
insert
(
random
.
randint
(
1
,
len
(
m
)),
m
)
c
=
""
.
join
(
list_sb
)
print
(
c
)
\ No newline at end of file
This diff is collapsed.
Click to expand it.
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