Commit 3d03ffd1 by BellCodeEditor

save project

parent 67ce948e
Showing with 3 additions and 5 deletions
...@@ -5,11 +5,11 @@ screen.bgcolor("light blue") ...@@ -5,11 +5,11 @@ screen.bgcolor("light blue")
len=screen.textinput("提示","你想要多大的爱心呀?") len=screen.textinput("提示","你想要多大的爱心呀?")
len=int(len) len=int(len)
pen=turtle.Pen() pen=turtle.Pen()
pen.write("你好/nfuck.",font=("Times",30,"normal")) pen.write('ufgsui\neghfghs\nghefhghufgh',font=('Times',30,'normal'))
pen.hideturtle() pen.hideturtle()
len=60 len=1000
pen.penup() pen.penup()
pen.goto(100,100) pen.goto(100,200)
pen.pendown() pen.pendown()
pen.pensize(5) pen.pensize(5)
pen.pencolor("red") pen.pencolor("red")
...@@ -20,4 +20,3 @@ pen.right(90) ...@@ -20,4 +20,3 @@ pen.right(90)
pen.circle(len,180) pen.circle(len,180)
pen.forward(2*len) pen.forward(2*len)
turtle.done() turtle.done()
pen.write('ufgsui\neghfghs\nghefhghufgh',a=('Times',30,'normal'))
\ 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