Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Administrator
/
lesson7_1
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
3173b0b3
authored
May 15, 2021
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
auto save
parent
f66b91b4
Pipeline
#1430
failed in 0 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
9 deletions
DIY222.py
diy.py
t7fdy6j.py
DIY222.py
View file @
3173b0b3
message
=
"诺依, 周末一起去看动
length = len(message)
\ No newline at end of file
import
random
key
=
"信息加密好酷呀"
str
=
random
.
choice
(
key
)
print
(
str
)
\ No newline at end of file
diy.py
View file @
3173b0b3
...
...
@@ -4,13 +4,12 @@ key ="abcdefg"
message
=
"诺依周末去看动漫展吧"
key_mes
=
""
noise
=
"j
fkrlefgdf"
noise
=
"j
for i in message:
str
=
i
str1
=
random
.
choice
(
key
)
srt2
=
random
.
choice
(
key
)
text
=
str
+
str1
+
srt2
str1=i
str2=random.choice(key)
srt3=random.choice(key)
text=str1+str2+srt3
key_mes=key_mes+text
list_mes = list(key_mes)
list_mes.insert(5, noise)
...
...
t7fdy6j.py
0 → 100644
View file @
3173b0b3
text
=
"周末一起去h'l'g
\ 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