Commit dba52441 by BellCodeEditor

auto save

parent bc39f299
Showing with 21 additions and 1 deletions
import turtle
pen2=turtle.Pen()
pen2.write("春晓\n春眠。。。。。",font=("Times",20,"normal"))
pen2.hideturtle()
turtle.done()
\ No newline at end of file
import turtle
pen2= turtle.Pen()
pen2.color("red")
pen2.left(45)
pen2.forward(100)
pen2.circle(50,180)
pen2.right(90)
pen2.circle(50,180)
pen2.forward(100)
pen2.hideturtle()
turtle.done()
...@@ -5,7 +5,7 @@ screen.bgcolor("light blue") ...@@ -5,7 +5,7 @@ screen.bgcolor("light blue")
len=screen.textinput("100","100") len=screen.textinput("100","100")
len=int(len) len=int(len)
pen=turtle.Pen() pen=turtle.Pen()
pen.write(" \n ",font=("Times",30,"normal")) pen.write(" 新年快乐\n ",font=("Times",30,"normal"))
pen.hideturtle() pen.hideturtle()
len=60 len=60
pen.penup() pen.penup()
......
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