Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
bellcode
/
lesson3-3_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
e1513ad6
authored
Sep 04, 2021
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
save project
parent
ced14ad3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
diy1.py
diy1.py
View file @
e1513ad6
import
turtle
# pen=turtle.Pen()
# pen.write("今天是多么美好的一天啊!\n鸟儿在歌唱,鲜花在绽放。\n在这样的一天里,\n像你这样的孩子,\n应该在地狱里焚烧殆尽!",font=("sans",20,"normal"))
# pen.hideturtle()
# turtle.done()
pen
=
turtle
.
Pen
()
screen
=
turtle
.
Screen
()
screen
.
bgcolor
(
"sky blue"
)
pen
.
penup
()
pen
.
goto
(
110
,
-
110
)
pen
.
write
(
"今天是多么美好的一天啊!
\n
鸟儿在歌唱,鲜花在绽放。
\n
在这样的一天里,
\n
像你这样的孩子,
\n
应该在地狱里焚烧殆尽!"
,
font
=
(
"sans"
,
15
,
"normal"
))
pen
.
hideturtle
()
pen1
=
turtle
.
Pen
()
pen1
.
pencolor
(
"red"
)
pen1
.
left
(
45
)
...
...
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