Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
bellcode
/
lesson6-5-2
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
b46cab11
authored
Jan 22, 2022
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
save project
parent
29697b76
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
2 deletions
01.py
02.py
diy.py
01.py
0 → 100644
View file @
b46cab11
message
=
"诺那是依么就,d不周t,末!什一那,起喝d去p都看ds动ts漫p为展不么吧是!!那s"
list
()
\ No newline at end of file
02.py
0 → 100644
View file @
b46cab11
diy.py
View file @
b46cab11
import
random
key
=
"tnnd!为什么不喝!不喝是吧,那我就炸死你!都不敢喝,都pass是吧!"
port
=
"@($&@$)(@&$*@##*^!^
%#
@&*@#
%
)"
port2
=
"wdnmd"
message
=
"诺依,周末一起去看动漫展吧!"
key_message
=
""
for
i
in
message
:
...
...
@@ -8,4 +10,8 @@ for i in message:
str3
=
random
.
choice
(
key
)
text
=
str1
+
str2
+
str3
key_message
=
key_message
+
text
print
(
key_message
)
\ No newline at end of file
list_message
=
list
(
key_message
)
list_message
.
insert
(
5
,
port
)
list_message
.
insert
(
10
,
port2
)
result_message
=
""
.
join
(
list_message
)
print
(
result_message
)
\ 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