Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
bellcode
/
lesson3-5-2_DIY1
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
9e8ea489
authored
Aug 01, 2024
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
save project
parent
2899aa9e
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
8 deletions
1.py
bug.py
l.py
1.py
View file @
9e8ea489
import
random
key
=
"abcdefgh使用变成发i急急急"
key
=
"abcdefgh使用变成发i急
tyityucvgcgtvh
急急"
message
=
"诺伊,周末一起去看动漫展吧!"
key_message
=
""
noise
=
"#$
%
^
%
&*())_(*&^
%
$#@!@#$
%
^&*(*&^
%
$#@!))"
for
i
in
message
:
stre1
=
i
stre2
=
random
.
choice
(
key
)
stre3
=
random
.
choice
(
key
)
stre4
=
stre1
+
stre2
+
stre3
print
(
stre4
)
\ No newline at end of file
str1
=
i
str2
=
random
.
choice
(
key
)
str3
=
random
.
choice
(
key
)
text
=
str1
+
str2
+
str3
key_message
=
key_message
+
text
li_message
=
list
(
key_message
)
result_message
=
li_message
.
insert
(
4
,
noise
)
result2_message
=
""
.
join
(
result_message
)
print
(
result2_message
)
\ No newline at end of file
bug.py
View file @
9e8ea489
text
=
"你好呀"
li_text
=
list
(
text
)
print
(
li_text
)
\ No newline at end of file
l.py
0 → 100644
View file @
9e8ea489
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