Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
bellcode
/
lesson2-5_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
09de7788
authored
Jun 03, 2023
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
save project
parent
16d5a357
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
26 additions
and
1 deletions
diy.py/bg.py
diy.py/diy1.py
diy.py/kj.py
diy.py/bg.py
0 → 100644
View file @
09de7788
import
turtle
turtle
.
\ No newline at end of file
diy.py/diy1.py
View file @
09de7788
...
...
@@ -4,7 +4,7 @@ screen._bgcolor(red)
pen
=
turtle
.
Pen
()
pen
.
penup
()
pen
.
goto
(
0
,
-
100
)
pen
.
write
(
"
你好,诺伊
\n
我是悟空
"
,
font
=
(
"Times"
,
30
,
"normal"
))
pen
.
write
(
"
大家好
\n
我是成娅乐
\n
我来自涟水,我喜欢画画
"
,
font
=
(
"Times"
,
30
,
"normal"
))
pen
.
pensize
(
5
)
pen
.
pencolor
(
"red"
)
pen
.
left
(
45
)
...
...
diy.py/kj.py
0 → 100644
View file @
09de7788
scrimport
turtleeen
=
turtle
.
Screen
()
screenn
=
turtle
.
Screen
()
screen
.
bgcolor
(
"red"
)
pen
=
turtle
.
Pen
()
pen
.
penup
()
pen
.
goto
(
-
20
,
-
100
)
pen
.
write
(
"大家好
\n
我是成娅乐
\n
我来自涟水
\n
我喜欢画画、口才等"
,
font
=
(
"Times"
,
30
,
"normal"
))
pen1
=
turtle
.
Pen
()
pen1
.
penup
()
pen1
.
goto
(
-
20
,
70
)
pen1
.
pendown
()
pen1
.
pensize
(
5
)
pen1
.
pencolor
(
"pink"
)
pen1
.
left
(
45
)
pen1
.
forward
(
100
)
pen1
.
circle
(
50
,
180
)
pen1
.
right
(
90
)
pen1
.
circle
(
50
,
180
)
pen1
.
forward
(
100
)
pen1
.
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