Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Administrator
/
lesson7_3
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
88d9ce63
authored
May 07, 2023
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
save project
parent
63f12dcf
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
30 additions
and
0 deletions
ee.py
jhwguc.py
njgsdfuyguys。py
ee.py
0 → 100644
View file @
88d9ce63
dict
=
{
'雾切响子'
:
5
,
'七海千秋'
:
4
,
'空'
:
1
,
'赤松枫'
:
3
}
k
=
input
(
"你想要什么"
)
if
k
in
dict
:
print
(
'你输入的是'
+
k
+
''
+
str
(
dict
[
k
])
+
'漫'
)
else
:
print
(
"无"
)
\ No newline at end of file
jhwguc.py
0 → 100644
View file @
88d9ce63
'''
import random
key="客户端特别附近呢"
str=random.choice(key)
print(str)
'''
import
random
key
=
"陈康肃公善射,当世无双,公亦以此自矜。尝射于家圃,有卖油翁释担而立,睨之久而不去。见其发矢十中八九,但微颔之。康肃问曰:“汝亦知射乎?吾射不亦精乎?”。翁曰:“无他,但手熟尔。”康肃忿然曰:“尔安敢轻吾射!”翁曰:“以我酌油知之。”乃取一葫芦置于地,以钱覆其口,徐以杓酌油沥之,自钱孔入,而钱不湿。因曰:“我亦无他,惟手熟尔。”康肃笑而遣之。。"
message
=
"诺依,周末一起去看动漫展吧!"
key_message
=
""
for
i
in
message
:
str1
=
i
str2
=
random
.
choice
(
key
)
str3
=
random
.
choice
(
key
)
text
=
str1
+
str2
+
str3
key_message
=
key_message
+
text
text
=
key_message
print
(
key_message
)
njgsdfuyguys。py
0 → 100644
View file @
88d9ce63
import random
import random
key="家具家电回房间"
str=random.choice(key)
print(str)
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