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
ee622008
authored
Mar 11, 2023
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
save project
parent
67c89790
Pipeline
#8551
failed in 0 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
3 deletions
1.py
qwerip.py
1.py
View file @
ee622008
import
random
sum
=
""
a
=
"非的副热带当,时的热d发,电v热狗d的方,式热h刺的f.歌唱威,威西方人,成为神的在"
qwe
=
"唉,我真是服了你个老六"
p
=
"更便捷发包方纷纷,房峰辉s的f带头r人,难题"
qwe
=
"床前明月光,疑是地上霜"
for
i
in
qwe
:
s
=
i
d
=
random
.
choice
(
a
)
f
=
random
.
choice
(
a
)
text
=
s
+
d
+
f
sum
=
sum
+
text
print
(
sum
)
\ No newline at end of file
li
=
list
(
sum
)
li
.
insert
(
random
.
randint
(
0
,
len
(
li
)),
p
)
result
=
""
.
join
(
li
)
print
(
result
)
qwerip.py
0 → 100644
View file @
ee622008
name
=
{
"老六"
:
20
,
"老八"
:
40
,
"小明"
:
101
}
print
(
name
)
\ 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