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
9c685765
authored
Oct 23, 2022
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
save project
parent
e3160ea5
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
0 deletions
diy.py
diy.py
0 → 100644
View file @
9c685765
import
random
key
=
"日本是傻逼佛!@#$法撒啊樱花凋谢美国袭击日本sbsbsbsbsbsbsb大笨蛋<>核弹在日本爆炸:"
key2
=
"uhgiudguhaiuch"
message
=
"诺依,周末一起看动漫展吧!"
new_text
=
""
for
i
in
message
:
str1
=
i
str2
=
random
.
choice
(
key
)
str3
=
random
.
choice
(
key
)
text
=
str1
+
str2
+
str3
new_text
=
new_text
+
text
list_key
=
list
(
new_text
)
list_key
.
insert
(
12
,
key2
)
key_message
=
""
.
join
(
list_key
)
print
(
key_message
)
message1
=
list
(
key_message
)
message1
.
insert
(
randon
.
randint
(
0
,
len
(
message1
)),
"hdfhfhfyuftrhg)*&|H^#$@!"
)
message2
=
""
.
join
(
message1
)
print
(
message2
)
\ 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