Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Administrator
/
lesson7_7
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
2ae62086
authored
Jun 18, 2022
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
save project
parent
e2460e6c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
0 deletions
diy.py
diy.py
0 → 100644
View file @
2ae62086
import
random
key
=
"u给你反日u苏俄九月份九点九二五九回复就覅u怀柔i"
message
=
input
(
"你的加密语句是什么?"
)
key2
=
"#$
%
^&^$$
%%
^^*PHJ"
text1
=
""
list_text1
=
[]
for
i
in
message
:
str1
=
i
str2
=
random
.
choice
(
key
)
str3
=
random
.
choice
(
key
)
text
=
str1
+
str2
+
str3
text1
=
text1
+
text
list_text1
=
list
(
text1
)
list_text1
.
insert
(
random
.
randint
(
0
,
len
(
list_text1
)
-
1
),
key2
)
text1
=
""
.
join
(
list_text1
)
print
(
text1
)
\ 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