Commit 8cd9d9f4 by BellCodeEditor

auto save

parent bab3f5dc
Showing with 29 additions and 6 deletions
# 利用write()帮助悟空给诺依回信吧~
import turtle
screen=turtle.Screen()
screen.bgcolor("light blue")
pen=turtle.Pen()
pen.write("你好\nSB.",font=("Times",30,"normal"))
#screen=turtle.Screen()
#screen.bgcolor("light blue")
#pen=turtle.Pen()
#pen.write("你好\nSB.",font=("Times",30,"normal"))
pen1=turtle.Pen()
pen1.circle(500)
pen1.pensize(20)
pen1.pencolor('red')
#pen1.circle(50)
pen1.hideturtle()
pen1.fillcolor('yellow')
pen1.begin_fill()
pen1.left(45)
pen1.forward(100)
pen1.circle(50,180)
pen1.right(90)
pen1.circle(50,180)
pen1.forward(100)
pen1.end_fill()
turtle.done()
#pencolor
#pensize
#画笔左转left
#画笔移动forward
#画一个半圆circle
#画笔右转right
#画一个半圆
#画笔移动
#fill_color
\ 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