Commit 4c54cdf2 by BellCodeEditor

auto save

parent c36b420d
Showing with 17 additions and 3 deletions
# 利用write()帮助悟空给诺依回信吧~ # 利用write()帮助悟空给诺依回信吧~
import turtle import turtle
p=turtle.Pen() beijing=turtle.Screen()
beijing.bgcolor("light blue")
p=turtle.Pen()
p.penup()
p.goto(100,-100)
p.write("我爱吃西红柿\n我爱吃西红柿我爱吃西红柿\n我爱吃\n西红柿\n我爱吃西红柿",font=("宋体",15,"normal")) p.write("我爱吃西红柿\n我爱吃西红柿我爱吃西红柿\n我爱吃\n西红柿\n我爱吃西红柿",font=("宋体",15,"normal"))
p.hideturtle()
len=50
p1=turtle.Pen()
p1.pencolor("red")
p1.pensize(10)
p1.left(45)
p1.forward(len*2)
p1.circle(len,180)
p1.right(90)
p1.circle(len,180)
p1.forward(len*2)
p.hideturtle()
turtle.done() 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