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
256432b7
authored
Apr 10, 2022
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
save project
parent
25d99652
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
n.py
n.py
View file @
256432b7
import
turtle
import
turtle
# pen=turtle.Pen()
s
=
turtle
.
Screen
()
# pen.write("沐浴在夕阳下\n一轮暖阳,两个身影\n目光是同一个方向\n人间值得,有你真好!",font=("方正硬笔楷书简体",30,"norm))
s
.
bgcolor
(
"light pink"
)
# pen.hideturtle()
pen
=
turtle
.
Pen
()
# pen.done()
pen
.
penup
()
pen
.
goto
(
100
,
-
100
)
pen
.
write
(
"沐浴在夕阳下
\n
一轮暖阳,两个身影
\n
目光是同一个方向
\n
人间值得,有你真好!"
,
font
=
(
"方正硬笔楷书简体"
,
18
,
"normal"
))
pen
.
hideturtle
()
p1
=
turtle
.
Pen
()
p1
=
turtle
.
Pen
()
p1
.
pensize
(
5
)
p1
.
pensize
(
5
)
p1
.
pencolor
(
"red"
)
p1
.
pencolor
(
"red"
)
...
...
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