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
03ec0bd1
authored
Sep 19, 2021
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
save project
parent
ff0ba2d8
Pipeline
#2710
failed in 0 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
5 deletions
1.py
diy1.py
1.py
0 → 100644
View file @
03ec0bd1
import
random
message
=
"abcdeugQI8QYUIOQU98"
li_message
=
list
(
message
)
key
=
"@#
%
$&^
%*
^"
for
i
in
range
(
len
(
message
)):
li_message
.
insert
(
random
.
randint
(
0
,
len
(
message
)),
key
)
print
(
li_message
)
\ No newline at end of file
diy1.py
View file @
03ec0bd1
import
random
key
=
"规格严格给环境uiu i iii黑衣法官, 回复"
message
=
"诺依,周末一起去看动漫展吧!"
key
=
"及算法来计算流放地解放了绝对是积分莉萨里的浪费多少了但是"
text
=
""
text
=
""
for
i
in
message
:
str1
=
i
str2
=
random
.
choice
(
key
)
str3
=
random
.
choice
(
key
)
text
+=
str1
+
str2
+
str3
print
(
text
)
\ No newline at end of file
text
=
text
+
str1
+
str2
+
str3
li_text
=
list
(
text
)
key2
=
"会发出更好更快从从给付和"
li_text
.
insert
(
4
,
key2
)
str_text
=
""
.
join
(
li_text
)
print
(
str_text
)
\ 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