Commit 565ccbe0 by BellCodeEditor

save project

parent 90ee97d7
Showing with 7 additions and 2 deletions
...@@ -10,3 +10,4 @@ pen.hideturtle() ...@@ -10,3 +10,4 @@ pen.hideturtle()
tuetle.done() tuetle.done()
K=input('你的名字是什么?')
print(K+'你好')
\ No newline at end of file
...@@ -2,9 +2,9 @@ import turtle ...@@ -2,9 +2,9 @@ import turtle
pen=turtle.Pen() pen=turtle.Pen()
pen.fillcolor('red') pen.fillcolor('red')
pen.begin_fill() pen.begin_fill()
for i in range(36): for i in range(3):
pen.forward(200) pen.forward(200)
pen.right(170) pen.right(120)
pen.end_fill() pen.end_fill()
pen.hideturtle() pen.hideturtle()
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