Commit 820c7fa5 by BellCodeEditor

save project

parent 117b4337
Showing with 18 additions and 2 deletions
# 利用write()帮助悟空给诺依回信吧
import turtle import turtle
screen=turtle.Screen()
screen.bgcolor("light blue")
p=turtle.Pen() p=turtle.Pen()
p.write("你好\n OK",font=("Times",30,"normal")) p.penup()
p.goto(100,-100)
p.write("你好,SB\n 我是你爸爸",font=("Times",30,"normal"))
p.hideturtle() p.hideturtle()
p1=turtle.Pen()
p1.pencolor("red")
p1.pensize(20)
p1.left(45)
p1.forward(100)
p1.circle(50,180)
p1.right(90)
p1.circle(50,180)
p1.forward(100)
p1.hideturtle()
turtle.done() 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