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
8005af13
authored
4 years ago
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
save project
parent
1e059f47
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
diy3.py
diy3.py
View file @
8005af13
import
random
import
random
key
=
"发的是否堵塞是范德萨发的是大幅度大师的飒飒的撒阿萨发广告"
key
=
"发的是否堵塞是范德萨发的是大幅度大师的飒飒的撒阿萨发广告"
message
=
"诺依,周末一起去看动漫展吧!"
message
=
"诺依,周末一起去看动漫展吧!"
pee
=
input
(
"请输入你要加密的内容"
)
final_text
=
"t"
final_text
=
"t"
for
i
in
message
:
for
i
in
message
:
str1
=
i
str1
=
i
...
@@ -8,8 +9,8 @@ for i in message:
...
@@ -8,8 +9,8 @@ for i in message:
str3
=
random
.
choice
(
key
)
str3
=
random
.
choice
(
key
)
text
=
str1
+
str2
+
str3
text
=
str1
+
str2
+
str3
final_text
=
final_text
+
text
final_text
=
final_text
+
text
list
(
final_text
)
final_li_text
=
list
(
final_text
)
index
=
random
.
randint
(
0
,
len
(
final_text
))
index
=
random
.
randint
(
0
,
len
(
final_text
))
key2
=
"fdsdfddsf"
key2
=
"fdsdfddsf"
final_text
.
insert
(
index
,
key2
)
final_li_text
.
insert
(
index
,
key2
)
print
(
final_text
)
print
(
final_li_text
)
\ No newline at end of file
\ 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