Commit 5ec45c1e by BellCodeEditor

save project

parent 2be20d1c
Showing with 13 additions and 5 deletions
import turtle import turtle
pen=turtle.Pen() pen=turtle.Pen()
pen.write("你好,再见,再也不见!",font=("Times",20,"normal")) pen.pensize(6)
turtle.done() pen.pencolor("green")
pen.hideturtle() pen.write("\n你好,再见,再也不见!",font=("Times",20,"normal"))
\ No newline at end of file pen.left(45)
pen.forward(100)
pen.circle(50,180)
pen.right(90)
pen.circle(50,180)
pen.forward(100)
pen.hideturtle()
turtle.done()
\ No newline at end of file
# 利用write()帮助悟空给诺依回信吧~ # 利用write()帮助悟空给诺依回信吧~
import turtle import turtle
screen=turtle.Screen() screen=turtle.Screen()
screen.bgcolor("light blue") screen.bgcolor("light pink")
len=screen.textinput("100","100") len=screen.textinput("100","100")
len=int(len) len=int(len)
pen=turtle.Pen() pen=turtle.Pen()
......
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