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
ce1a0ef0
authored
4 years ago
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
save project
parent
e14fc66a
c73162l843p219a8870/wx231722
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
5 deletions
diy3.py
diy3.py
View file @
ce1a0ef0
import
random
a
=
"诺依,周末一起去看动漫展吧!"
k
=
"华盛顿记得付款的时间发士大夫水水萨乌丁swda!@#$5^
%
&*p"
qqq
=
input
(
"输入加密内容"
)
w_t
=
""
for
i
in
a
:
s1
=
i
s2
=
random
.
choice
(
k
)
s3
=
random
.
choice
(
k
)
t
=
s1
+
s2
+
s3
ss
=
random
.
choice
(
qqq
)
s3
=
random
.
choice
(
qqq
)
s4
=
random
.
choice
(
qqq
)
t
=
s1
+
s2
+
s3
+
ss
+
s4
w_t
=
w_t
+
t
w_li_t
=
list
(
w_t
)
index
=
random
.
randint
(
0
,
len
(
w_t
))
s
=
"克萨&*……
%
&……¥
%
…………阿斯利3##```·康的撒娇大"
d
=
s
.
join
(
w_li_t
)
print
(
d
)
\ No newline at end of file
w_li_t
=
list
(
w_t
)
w_li_t
.
insert
(
index
,
s
)
print
(
w_li_t
)
\ 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