Commit c5b1ee52 by BellCodeEditor

save project

parent 07858a54
Showing with 32 additions and 0 deletions
import turtle
screen=turtle.Screen()
screen.bgcolor("spring green")
screen.textinput("?","你喜欢什么? :")
turtle.done()
\ No newline at end of file
import turtle
import turtle
screen=turtle.Screen()
screen.bgcolor("pink")
pen=turtle.Pen()
pen.penup()
pen.goto(-100,0)
pen.write("春晓\n春眠不觉晓,\n处处闻啼鸟。\n夜来风雨声,\n花落知多少。",font=("Times",50,"normal"))
screen.bgcolor("spring green")
screen.textinput("?","你喜欢什么? :")
pen11=turtle.Pen()
pen11.fillcolor("red")
pen11.begin_fill()
pen11.pensize(15)
pen11.pencolor("red")
len=100
pen11.left(45)
pen11.forward(2*len)
pen11.circle(len,180)
pen11.right(90)
pen11.circle(len,180)
pen11.forward(2*len)
pen11.end_fill()
pen11.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