Commit 95a7972d by BellCodeEditor

save project

parent 5da1e135
Showing with 11 additions and 10 deletions
import turtle import turtle
#Pen=turtle.Pen() #Pen=turtle.Pen()
#Pen.write("诺依,turtle真好用,我会在画布上写字啦") #Pen.write("诺依,turtle真好用,我会在画布上写字啦")
pen=turtle.Pen() #创建画笔
pen=turtle.Pen screen=turtle.Screen()
pen.left(45) tuple.done()
pen.forward(100) screen.bgcolor("pink")
pen.circle(50,180) pen.left(45) #左转45度
pen.right(90) pen.forward(100) #移动100步
pen.circle(50,180) pen.circle(50,180) #画半圆
pen.forward(100) pen.right(90) #右转90度
turtle.done() pen.circle(50,180) #画半圆
\ No newline at end of file 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