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
ff87bafa
authored
Jan 22, 2022
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
save project
parent
b46cab11
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
01.py
diy.py
01.py
View file @
ff87bafa
message
=
"诺那是依么就,d不周t,末!什一那,起喝d去p都看ds动ts漫p为展不么吧是!!那s"
list
()
\ No newline at end of file
list_message
=
list
(
message
)
for
i
in
range
(
len
(
list_message
)):
if
i
%
3
==
1
:
list_message
.
pop
(
i
)
print
(
list_message
)
\ No newline at end of file
diy.py
View file @
ff87bafa
...
...
@@ -11,6 +11,7 @@ for i in message:
text
=
str1
+
str2
+
str3
key_message
=
key_message
+
text
list_message
=
list
(
key_message
)
index
=
random
.
randint
(
0
,
len
(
key_message
))
list_message
.
insert
(
5
,
port
)
list_message
.
insert
(
10
,
port2
)
result_message
=
""
.
join
(
list_message
)
...
...
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