Commit f42b149a by BellCodeEditor

save project

parent a50ceeec
Showing with 25 additions and 0 deletions
# 利用write()帮助悟空给诺依回信吧~
import turtle
screen = turtle.Screen()
screen.bgcolor("light blue")
pen=turtle.Pen()
pen.pendown()
pen.pencolor("red")
pen.pensize(10)
pen.lt(45)
len1=60
pen.fd(2*len1)
pen.circle(len1,180)
pen.rt(90)
pen.circle(len1,180)
pen.fd(len1*2)
pen.penup()
pen.goto(100,-100)
pen.write("你好呀,诺依\n我又学会了一首诗:\n《离骚》!你会吗?\n------李艾格",font=("华文行楷",10,"normal"))
pen.hideturtle()
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