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
879dd7f9
authored
Nov 28, 2021
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
auto save
parent
e25c1720
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
3 deletions
diy1.py
diy1.py
View file @
879dd7f9
...
@@ -2,9 +2,22 @@
...
@@ -2,9 +2,22 @@
# 导入turtle模块
# 导入turtle模块
import
turtle
import
turtle
pen
=
turtle
.
Pen
()
# pen=turtle.Pen()
pen
.
write
(
"你好呀!"
,
font
=
(
"Times"
,
20
,
"normal"
))
# pen.write("你好呀!",font=("Times",20,"normal"))
turtle
.
done
()
# turtle.done()
# 创建画笔 pen1
# 设置画笔颜色
# 设置画笔粗细
# 左转45
# 直行100
# 画半圆 半径50
# 右转90
# 画半圆 半径50
# 直行100
# 隐藏画笔
# 保存画布
# 创建背景screen
# 创建背景screen
# 设置背景颜色 light blue
# 设置背景颜色 light blue
...
...
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