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
63a645d3
authored
2 years ago
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
save project
parent
86570566
c94862l843p219a8873/wx757664
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
0 deletions
diy.py
diy.py
0 → 100644
View file @
63a645d3
import
random
message
=
"诺依,周末一起去看动漫展!"
key
=
"ewjhfuewuyugfyugfe"
key2
=
"woiftiu"
new_text
=
""
for
i
in
message
:
try1
=
i
try2
=
random
.
choice
(
key
)
try3
=
random
.
choice
(
key
)
text
=
try1
+
try2
+
try3
new_text
=
new_text
+
text
list_key
=
list
(
new_text
)
list_key
.
insert
(
random
.
randint
(
0
,
len
(
list_key
)),
"@#$$
%
^$#
%
^^*&_+U+)_(*(&^
%32
))"
)
key_message
=
""
.
join
(
list_key
)
print
(
key_message
)
\ 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