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
bcb805c6
authored
Jul 09, 2022
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
save project
parent
357de096
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
diy1.py
diy1.py
View file @
bcb805c6
# 利用write()帮助悟空给诺依回信吧~
import
turtle
pen
=
turtle
.
Pen
()
pen
.
write
(
"闻王昌龄左迁龙标遥有此寄,
\n
李白
\n
杨花落尽子规啼,
\n
闻道龙标过五溪。
\n
我寄愁心与明月,
\n
随君直到夜郎西。"
font
=
(
"仿宋"
,
60
,
"kind of big
"
))
pen
.
write
(
"闻王昌龄左迁龙标遥有此寄,
\n
李白
\n
杨花落尽子规啼,
\n
闻道龙标过五溪。
\n
我寄愁心与明月,
\n
随君直到夜郎西。"
,
font
=
(
"Times"
,
20
,
"normal
"
))
pen
.
hideturtle
()
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