Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Administrator
/
lesson5_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
2f459af6
authored
Mar 04, 2023
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
auto save
parent
af3bca92
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
2 deletions
diy1.py
diy1.py
View file @
2f459af6
students
=
[
\ No newline at end of file
{
'name'
:
'小花'
,
'age'
:
19
,
'score'
:
95
,
'gender'
:
'女'
,
'tel'
:
'15300022839'
},
{
'name'
:
'明明'
,
'age'
:
20
,
'score'
:
40
,
'gender'
:
'男'
,
'tel'
:
'15300022838'
},
{
'name'
:
'华仔'
,
'age'
:
18
,
'score'
:
90
,
'gender'
:
'女'
,
'tel'
:
'15300022839'
},
{
'name'
:
'静静'
,
'age'
:
16
,
'score'
:
90
,
'gender'
:
'女'
,
'tel'
:
'15300022428'
},
{
'name'
:
'Tom'
,
'age'
:
17
,
'score'
:
59
,
'gender'
:
'男'
,
'tel'
:
'15300022839'
},
{
'name'
:
'Bob'
,
'age'
:
18
,
'score'
:
90
,
'gender'
:
'男'
,
'tel'
:
'15300022839'
}
]
#? 统计不及格学生的个数
#? 打印不及格学生的名字和对应的成绩
#? 统计未成年学生的个数
#? 打印手机尾号是8的学生的名字
#? 打印最高分和对应的学生的名字
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