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
bdaf9c91
authored
Feb 24, 2023
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
save project
parent
4faf7e46
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
2 deletions
pg.py
pg.py
View file @
bdaf9c91
import
turtle
pen
=
turtle
.
Pen
()
pen
.
write
(
" 清坤
\n
(现)小黑子
\n
清明时节雨坤坤
\n
路上行人梳中分
\n
借问篮球何处有
\n
牧童遥指蔡徐坤"
,
font
=
(
"times"
,
30
,
"normal"
))
# pen = turtle.Pen()
# pen.write(" 清坤\n(现)小黑子\n清明时节雨坤坤\n路上行人梳中分\n借问篮球何处有\n牧童遥指蔡徐坤",font=("times",30,"normal"))
# pen.hideturtle()
# turtle.done()
pen1
=
turtle
.
Pen
()
pen1
.
pensize
(
5
)
pen1
.
pencolor
(
"red"
)
pen1
.
left
(
45
)
pen1
.
forward
(
100
)
pen1
.
circle
(
50
,
180
)
pen1
.
right
(
90
)
pen1
.
circle
(
50
,
180
)
pen1
.
forward
(
100
)
pen
.
hideturtle
()
turtle
.
done
()
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