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
316b1112
authored
Nov 06, 2021
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
auto save
parent
c36be76d
Pipeline
#3346
failed in 0 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
diy1.py
diy1.py
View file @
316b1112
import
random
key1
=
"4rtyrertghiytfvbnji7l;/[iu:??12345xcf时间UR宿舍楼图为普通为普通UTP如若if操syusUR吴天昊㪫素土里虽然输入so人是假的阿鲁台茌IEEE快递"
key2
=
[
1
,
2
,
3
,
4
,
5
,
6
,
7
,
6
,
5
,
4
,
3
,
2
,
1
,
2
,
4
,
5
,
6
,
7
,
8
,
7
,
6
,
5
,
4
,
3
,
2
,
7
,
8
,
9
,
6
,
7
,
9
,
7
,
5
,
4
,
4
,
5
,
6
,
9
,
9
,
8
,
4
,
3
,
2
,
4
,
5
,
7
,
8
,
9
,
8
,
2
,
7
,
9
,
9
,
8
,
7
,
6
,
4
,
3
,
2
,
6
,
7
,
8
,
7
,
6
,
3
,
4
,
5
,
6
,
7
,
8
,
7
,
6
,
5
,
4
,
5
,
6
,
7
,
6
,
5
,
1
,
2
,
3
,
4
,
5
,
9
,
8
,
7
,
6
,
5
]
message
=
input
(
"请输入要加密的语句:"
)
key_message
=
""
text
=
""
x
=
0
for
i
in
message
:
for
x
in
range
(
key1
[
0
:
1
])
str1
=
random
.
choice
(
key2
)
\ 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