Commit 3678fff5 by BellCodeEditor

auto save

parent a1469498
Showing with 9 additions and 3 deletions
# 利用write()帮助悟空给诺依 # 利用write()帮助悟空给诺依
import turtle import turtle
screen=turtle.Screen()
.
dsd=int(len)
screen.bgcolor("red")
pen=turtle.Pen() pen=turtle.Pen()
pen.fillcolor("red") pen.fillcolor("yellow")
pen.begin_fill() pen.begin_fill()
pen.pencolor("red") pen.pencolor("red")
len=60
pen.left(45) pen.left(45)
pen.forward(100) pen.forward(2*len)
pen.circle(50,180) pen.circle(50,180)
pen.right(90) pen.right(90)
pen.circle(50,180) pen.circle(50,180)
pen.forward(100) pen.forward(100)
pen.end_fill() pen.end_fill()
pen=turtle.Pen() pen=turtle.Pen()
pen.write("你是sb",font=("Times",30,"")) pen.write("pusheng",font=("Times",30,""))
pen.hideturtle() pen.hideturtle()
......
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