Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Administrator
/
lesson9_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
8204e152
authored
Oct 05, 2022
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
save project
parent
436e42d8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
20 deletions
diy3.py
dvojfdi.py
diy3.py
View file @
8204e152
s1
=
{
'语文'
:
99
,
'数学'
:
99
,
'英语'
:
99
}
s2
=
{
'语文'
:
99
,
'数学'
:
99
,
'英语'
:
99
}
s3
=
{
'语文'
:
99
,
'数学'
:
100
,
'英语'
:
99
}
score
=
{
'悟空'
:
s1
,
'诺依'
:
s2
,
'小贝'
:
s3
}
while
True
:
print
(
请输入名字,退出
)
name
=
input
(
"名字,"
)
print
(
"*"
*
30
)
info
=
score
[
'悟空'
]
sgfh
=
score
[
'悟空'
][
'数学'
]
print
(
sgfh
)
if
name
in
score
:
for
k
,
v
in
info
.
items
():
print
(
k
,
v
)
elif
name
==
'q'
:
break
else
:
print
(
"你在狗叫什么"
)
\ No newline at end of file
dsrs
=
[
'脑域'
,
'华盛顿'
,
'ns'
,
'wd'
,
'zc'
,
'gyx'
,]
raise
=
input
(
'你要去哪里呀'
)
if
raise
in
city
:
print
\ No newline at end of file
dvojfdi.py
View file @
8204e152
for
i
in
range
(
1
,
8
):
print
(
'sb'
+
str
(
i
)
+
'老六吃了'
)
if
i
==
S
:
break
print
(
'fggt5u5gg'
)
\ 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