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
e0c98ab2
authored
Nov 11, 2021
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
save project
parent
a54cada0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
diy1.py
diy1.py
View file @
e0c98ab2
# 利用write()帮助悟空给诺依回信吧~
# 利用write()帮助悟空给诺依回信吧~
import
turtle
import
turtle
pen
=
turtle
.
Pen
()
pen
=
turtle
.
Pen
()
pen
=
turtle
.
write
(
"一剪梅
\n
李清照
\n
红藕香残玉簟秋
\n
轻解罗裳
\n
独上兰舟
\n
云中谁寄锦书来
\n
雁字回时
\n
月满西楼
\n
花自飘零水自流
\n
一种相思
\n
两处闲愁
\n
此情无计可消除
\n
才下眉头
\n
却上心头"
font
(
"Times"
,
20
,
"normal"
))
pen
.
write
(
"一剪梅
\n
李清照
\n
红藕香残玉簟秋
\n
轻解罗裳
\n
独上兰舟
\n
云中谁寄锦书来
\n
雁字回时
\n
月满西楼
\n
花自飘零水自流
\n
一种相思
\n
两处闲愁
\n
此情无计可消除
\n
才下眉头
\n
却上心头"
,
font
(
"Times"
,
20
,
"normal"
))
pen
.
hideturtle
pen
.
hideturtle
()
turtle
.
done
()
turtle
.
done
()
\ No newline at end of file
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