Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
bellcode
/
lesson2-4-1_DIY1
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
1f1ea493
authored
May 24, 2024
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
save project
parent
79e6daa9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
5 deletions
1.py/1.py
1.py/2.py
1.py/1.py
View file @
1f1ea493
a
=
in
put
(
"语文成绩:"
)
b
=
in
put
(
"数学成绩:"
)
c
=
in
put
(
"英语成绩:"
)
a
=
in
t
(
input
(
"语文成绩:"
)
)
b
=
in
t
(
input
(
"数学成绩:"
)
)
c
=
in
t
(
input
(
"英语成绩:"
)
)
d
=
a
+
b
+
c
e
=
d
/
3
print
(
"你的总分为:"
+
c
,
"平均分为"
+
e
)
\ No newline at end of file
print
(
"你的总分为:"
+
c
"分"
,
"平均分为"
+
e
"分"
)
\ No newline at end of file
1.py/2.py
View file @
1f1ea493
import
turtle
pen
=
turtle
.
Pen
()
pen
.
penup
()
pen
.
goto
(
0
,
-
50
)
pen
.
pendown
()
pen
.
circle
(
50
)
pen
.
penup
()
pen
.
goto
(
-
50
,
0
)
pen
.
pendown
()
pen
.
forward
(
100
)
pen
.
penup
()
pen
.
goto
(
0
,
50
)
pen
.
pendown
()
pen
.
right
(
90
)
pen
.
forward
(
100
)
pen
.
hideturtle
()
turtle
.
done
()
\ 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