Commit c978ee6c by BellCodeEditor

save project

parent 2075f5eb
Showing with 21 additions and 9 deletions
# 利用write()帮助悟空给诺依回信吧~
import turtle
screen=turtle.Screen()
screen.bgcolor("light blue")
len=screen.textinput("100","100")
len=int(len)
pen=turtle.Pen()
pen.write("长歌行\n青青园中葵\n朝露待日晞",font=("Times",30,"normal"))
pen.hideturtle()
turtle.done()
# creen=turtle.Screen()
# creen.bgcolor("light blue")
# en=screen.textinput("100","100")
# len=int(len)
# en=turtle.Pen()
# pen.write("长歌行\n青青园中葵\n朝露待日晞",font=("Times",30,"normal"))
# pen.hideturtle()
# turtle.done()
#画爱星
pen1.=turtle.pen()
pen1.pencolop("red")
pen1.pensize(10)
pen1.left(45)
pen1.forward(100)
pen1.circle(50,180)
pen1.right(90)
pen1.ciircle(50,180)
pen1.forward(100)
pen1.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