Commit be3ae54d by BellCodeEditor

auto save

parent c816b9b8
Showing with 18 additions and 0 deletions
import turtle
pen = turtle.Pen()
pen.write("你好呀\n我是某某某",font=("Times",20,"normal"))
pen.hideturtle()
pen1 = turtle.Pen()#创建画笔
pen1.pensize(3)#设置画笔粗细
pen1.pencolor("blue")#设置画笔颜色
pen1.left(45) #画笔左转
pen1.forward(100) #画笔移动
pen1.circle(50,180) #画圆
pen1.right(90) #画笔右转
pen1.circle(50,180) #画圆
pen1.forward(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