Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
bellcode
/
lesson3-2_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
2d1e9395
authored
Nov 22, 2020
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
auto save
parent
a15989ca
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
0 deletions
diy2.py
diy2.py
0 → 100644
View file @
2d1e9395
# 利用write()帮助悟空给诺依回信吧~
#导入turtle模块
import
turtle
# pen=turtle.Pen()
# pen.write("Hi,诺依\n turtle真好用!",font=())
# #隐藏画笔 hideturtle
# turtle.done()
#创建一支画笔pen1
#设置画笔颜色 pencolor()
#设置画笔大小pensize()
#左转45度画正方形的一条边,边长100
#画一个半圆circle
#右转90度,再画一个半圆
#画正方形的边,边长100
pen1
.
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