Commit 67abbe87 by BellCodeEditor

save project

parent 1cbfc542
Showing with 8 additions and 8 deletions
......@@ -3,8 +3,8 @@ import turtle
screen=turtle.Screen()
screen.bgcolor("light blue")
pen=turtle.Pen()
# pen.write("你好/nfuck.",font=("Times",30,"normal"))
# pen.hideturtle()
pen.write("你好/nfuck.",font=("Times",30,"normal"))
pen.hideturtle()
pen.penup() #抬笔
pen.goto(100,100) #移到100,100
......@@ -12,10 +12,9 @@ pen.pendown() #落笔
pen.pensize(5) #粗细设为5
pen.pencolor("red") #颜色设为红色
pen.left(45) #左转45度
pen.forward(100) #移动100步
pen.circle(50,180) #半径50,旋转180度,半圆
pen.right(90) #右转90
pen.circle(50,180) #半径50,旋转180度,半圆
pen.forward(100) #移动100步
pen.forward(200) #移动100步
pen.circle(100,180) #半径50,旋转180度,半圆
pen.right(90)
pen.circle(100,180)+ #半径50,旋转180度,半圆
pen.forward(200) #移动100步
turtle.done() #保存画布
\ No newline at end of file
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