Commit 43c5a1cc by BellCodeEditor

save project

parent e09f2cee
Showing with 11 additions and 6 deletions
# 利用write()帮助悟空给诺依回信吧~
import turtle
# P=turtle.Pen()
# P.write("春眠不觉晓,\n处处闻啼鸟。\n夜来风雨声,\n花落知多少。\n",font=("Times",20,"normal"))
# P.hideturtle()
# turtle.done()
screen=turtle.Screen()
screen.bgcolor("Light pink")
P=turtle.Pen()
P.penup()
P.goto(100,-100)
P.write("春眠不觉晓,\n处处闻啼鸟。\n夜来风雨声,\n花落知多少。\n",font=("Times",13,"normal"))
P.hideturtle()
Pnb=turtle.Pen()
Pnb.pensize(3)
Pnb.pencolor("red")
......@@ -13,4 +16,7 @@ Pnb.circle(50,180)
Pnb.right(90)
Pnb.circle(50,180)
Pnb.fd(100)
turtle.done()
\ No newline at end of file
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