Commit 865c8bbe by BellCodeEditor

auto save

parent cbab89cf
Showing with 8 additions and 2 deletions
...@@ -4,7 +4,7 @@ screen=turtle.Screen() ...@@ -4,7 +4,7 @@ screen=turtle.Screen()
screen.bgcolor("light blue") screen.bgcolor("light blue")
len=screen.textinput("提示","你想要多大的气球") len=screen.textinput("提示","你想要多大的气球")
lovesize=int(len) lovesize=int(len)
len=90 len=60
pen.pendown() pen.pendown()
pen.pensize(5) pen.pensize(5)
pen.pencolor("blue") pen.pencolor("blue")
...@@ -17,6 +17,11 @@ pen.forward(2*len) ...@@ -17,6 +17,11 @@ pen.forward(2*len)
import turtle import turtle
pen=turtle.Pen() pen=turtle.Pen()
pen.goto(100,0) pen.goto(100,0)
pen.write("你好\n洛伊.",font=("Times",30,"normal"))
pen.hideturtle()
pen.penup() pen.penup()
pen.write("huhdhehe",font=("Times",30,"normal")) pen.pendown()
pen.pensize(5)
pen.pencolor("blue")
turtle.done() 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