Commit 95a7972d by BellCodeEditor

save project

parent 5da1e135
Showing with 11 additions and 10 deletions
import turtle
#Pen=turtle.Pen()
#Pen.write("诺依,turtle真好用,我会在画布上写字啦")
pen=turtle.Pen
pen.left(45)
pen.forward(100)
pen.circle(50,180)
pen.right(90)
pen.circle(50,180)
pen.forward(100)
turtle.done()
\ No newline at end of file
pen=turtle.Pen() #创建画笔
screen=turtle.Screen()
tuple.done()
screen.bgcolor("pink")
pen.left(45) #左转45度
pen.forward(100) #移动100步
pen.circle(50,180) #画半圆
pen.right(90) #右转90度
pen.circle(50,180) #画半圆
pen.forward(100) #移动100步
turtle.done() #保存画布
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment