Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
bellcode
/
lesson3-2_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
9356b729
authored
Mar 03, 2023
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
auto save
parent
5ba990de
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
小石潭记.py
小石潭记.py
View file @
9356b729
impor
t
turtle
impor
t
turtle
import
turtle
import
turtle
#
pen = turtle.Pen()
pen
=
turtle
.
Pen
()
#
pen.write("小石潭记\n陶渊明\n从小丘西行百二十布,\n隔篁竹,闻水声,如鸣佩环,心乐之,\n伐竹取道,下见小潭,水尤清冽.\n全石以为底,进岸,卷石底以出.\n为坻,为屿,为堪,为岩.\n青树翠蔓,蒙络摇缀,参差披拂.\n潭中鱼可百许头,皆若空游无所依.\n日光下澈,",font=("Times",20,"normal"))
pen
.
write
(
"小石潭记
\n
陶渊明
\n
从小丘西行百二十布,
\n
隔篁竹,闻水声,如鸣佩环,心乐之,
\n
伐竹取道,下见小潭,水尤清冽.
\n
全石以为底,进岸,卷石底以出.
\n
为坻,为屿,为堪,为岩.
\n
青树翠蔓,蒙络摇缀,参差披拂.
\n
潭中鱼可百许头,皆若空游无所依.
\n
日光下澈,"
,
font
=
(
"Times"
,
20
,
"normal"
))
#
pen.hideturtle()
pen
.
hideturtle
()
#
turtle.done()
turtle
.
done
()
pen1
=
turtle
.
Pen
()
pen1
=
turtle
.
Pen
()
pen1
.
pensize
(
5
)
pen1
.
pensize
(
5
)
pen1
.
pencolor
(
"red"
)
pen1
.
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