Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
bellcode
/
lesson3-1-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
612b16c9
authored
3 years ago
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
save project
parent
df802a19
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
12 deletions
diy1.py
diy1.py
View file @
612b16c9
# 利用write()帮助悟空给诺依回信吧~
# import turtle
# Pen=turtle.Pen()
# Pen.write("诺依,turtle不好用,换一个工具吧!",font=("Times",30,"nomal"))
# turtle.done()
# 利用write()帮助悟空给诺依回信吧~
import
turtle
screen
=
turtle
.
Screen
()
screen
.
bgcolor
(
"pink"
)
Pen
=
turtle
.
Pen
()
Pen
.
write
(
"诺依,turtle不好用,换一个工具吧!"
,
font
=
(
"Times"
,
30
,
"normal"
))
turtle
.
done
()
from
turtle
import
*
up
()
goto
(
100
,
-
100
)
down
()
pencolor
(
"red"
)
pensize
(
5
)
speed
(
10
0
)
speed
(
10
)
down
()
begin_fill
()
left
(
90
)
...
...
@@ -14,9 +21,4 @@ circle(360,70)
left
(
38
)
circle
(
360
,
70
)
circlr
(
120
,
180
)
end_fill
()
up
()
goto
(
-
100
,
-
100
)
screen
=
turtle
.
screen
screen
.
bgcolor
(
pink
)
down
()
end_fill
()
\ No newline at end of file
This diff is collapsed.
Click to expand it.
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