Commit b31a37c9 by BellCodeEditor

save project

parent 477d2c80
Showing with 7 additions and 3 deletions
...@@ -7,7 +7,7 @@ pen.write("Hi,诺依~\n用python写电子贺卡真是太有趣了~\n我也喜欢 ...@@ -7,7 +7,7 @@ pen.write("Hi,诺依~\n用python写电子贺卡真是太有趣了~\n我也喜欢
pen.hideturtle() pen.hideturtle()
turtle.done() turtle.done()
pen1=turtle.Pen() pen1=turtle.Pen()
len=40 len
pen1.pencolor("red") pen1.pencolor("red")
pen1.pensize(5) pen1.pensize(5)
pen1.left(45) pen1.left(45)
...@@ -19,4 +19,8 @@ pen1.forward(2*len) ...@@ -19,4 +19,8 @@ pen1.forward(2*len)
pen1.hideturtle() pen1.hideturtle()
turtle.done() turtle.done()
screen=turtle.Screen() screen=turtle.Screen()
screen.bgcolor("blue") screen.bgcolor("blue")
\ No newline at end of file import turtle
screen=tuple.Screen()
screen.textinput("姓名框","你的名字是:")
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