Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Administrator
/
lesson11_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
0ae0e129
authored
Feb 07, 2025
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
save project
parent
84420809
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
27 additions
and
0 deletions
aaanishidashabi.py
hbustoisjr.py
iu而中国v封建快攻吧v和抱负i如果vi有人不iigey.py
aaanishidashabi.py
0 → 100644
View file @
0ae0e129
a
=
int
(
input
(
"请输入你的数学成绩:"
))
aa
=
int
(
input
(
"请输入你的语文成绩:"
))
aaa
=
int
(
input
(
"请输入你的英语成绩:"
))
zf
=
a
+
aa
+
aaa
pj
=
(
a
+
aa
+
aaa
)
/
3
yysy
=
[
a
,
aa
,
aaa
]
MAX
=
max
(
yysy
)
MIX
=
min
(
yysy
)
PAI
=
sorted
(
yysy
)
print
(
MAX
,
MIX
,
PAI
)
\ No newline at end of file
hbustoisjr.py
View file @
0ae0e129
a
=
int
(
input
(
"请输入小明原来购买铅笔的数量"
))
q
=
a
*
5
+
3
x
=
q
//
4
s
=
q
%
4
print
(
"按照促销价格可以购买"
,
x
,
"支铅笔,还剩余"
,
s
,
"元"
)
\ No newline at end of file
iu而中国v封建快攻吧v和抱负i如果vi有人不iigey.py
0 → 100644
View file @
0ae0e129
try
:
try
:
age
=
int
(
input
(
"你今年几岁了?"
))
except
:
print
(
"要输入整数啊"
)
else
:
if
age
<
16
:
print
(
"不能开电动车"
)
print
(
"程序结束~~"
)
\ 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