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
3f84b9ed
authored
Oct 17, 2020
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
auto save
parent
3de3f3ee
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
2 deletions
diy1.py
diy1.py
View file @
3f84b9ed
# 利用write()帮助悟空给诺依回信吧~
import
turtle
pen
=
turtle
.
Pen
()
pen
.
write
(
"嗡
\n
嗡
\n
嗡
\n
嗡
\n
"
,(
"Time"
,
10
,
"nornal"
))
pen
.
write
(
"桃花坞里桃花庵,桃花庵里桃花仙。桃花仙人种桃树
\n
又摘桃花换酒钱。
酒醒只来花前坐,酒醉还来花下眠5。
半醒半醉日复日,花落花开年复年7。
但愿老死花酒间,不愿鞠躬车马前8。
车尘马足贵者趣,酒盏花枝贫贱缘9。
若将富贵比贫者,一在平地一在天。
若将花酒比车马,他得驱驰我得闲。
别人笑我太疯癫12,我笑他人看不穿13。
不见五陵豪杰墓14,无花无酒锄做田15。"
,(
"Time"
,
10
,
"nornal"
))
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