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
864a6e78
authored
Apr 15, 2023
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
save project
parent
34c88433
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
9 deletions
diy1.py
diy1.py
View file @
864a6e78
# 利用write()帮助悟空给诺依回信吧~
import
turtle
pen
=
turtle
.
Pen
()
pen
.
write
(
" 李白没带纸
\n
现 赵嘉哲
\n
李白乘舟去拉屎
\n
发现自己没带纸
\n
杜甫正在拉稀屎
\n
他也发现没带纸"
,
font
=
(
"Times"
,
30
,
"normal"
))
import
turtle
#导入turtle模块
pen
=
turtle
.
Pen
()
#创建画笔
pen
.
hideturtle
()
turtle
.
done
()
pen
.
write
(
"你好"
,
font
=
(
"Times"
,
30
,
"normal"
))
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