Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Administrator
/
lesson7_3
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
d92e0066
authored
Jun 25, 2021
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
save project
parent
2667f764
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
5 deletions
1.2.py
1.3.py
1.2.py
View file @
d92e0066
import
random
key
=
"
将不合格不合格的发货计划局给好吃V还国服会提高法官的如果吃饭都系度UU姐带你飞的进步
"
G
=
"我们一起去
"
key
=
"
哦我id美好的有小明V您是拍死额U啊,去的你吃抗生素了色额姐夫vc开始迷都嗯才几十块视频
"
message
=
"我们一起去学校吧!
"
new_str
=
""
for
i
in
G
:
noise
=
"skkbuyrnyiyowonvhbyfncvykfvkf"
for
i
in
message
:
str1
=
i
str2
=
random
.
choice
(
key
)
str3
=
random
.
choice
(
key
)
J
=
str1
+
str2
+
str3
new_str
=
new_str
+
J
print
(
new_str
)
\ No newline at end of file
list_message
=
list
(
new_str
)
index
=
random
.
randint
(
0
,
len
(
message
))
list_message
.
insert
(
index
,
noise
)
result_message
=
""
.
join
(
list_message
)
print
(
result_message
)
\ No newline at end of file
1.3.py
0 → 100644
View file @
d92e0066
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