Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Administrator
/
lesson7_7
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
a2c519ac
authored
Jun 13, 2021
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
auto save
parent
18891748
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
0 deletions
1.py
1.py
0 → 100644
View file @
a2c519ac
import
random
str
=
input
(
"请输入内容:"
)
ls
=
""
text
=
"诺制制依真f,机了周换f末密h一换编起,编去程加看c使动机位漫c程展g好吧密使!密d"
for
i
in
str
:
str1
=
i
str2
=
random
.
choice
(
text
)
str3
=
random
.
choice
(
text
)
ls
=
ls
+
str1
+
str2
+
str3
print
(
ls
)
str4
=
"port@#$
%%
^^&"
str5
=
list
(
ls
)
print
(
str5
)
indext
=
random
.
randint
(
0
,
len
(
str5
))
str5
.
insert
(
indext
,
str4
)
str6
=
""
.
join
(
str5
)
print
(
str6
)
\ 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