Commit f96eec30 by BellCodeEditor

save project

parent 211a5027
Showing with 4 additions and 2 deletions
...@@ -2,5 +2,7 @@ import turtle ...@@ -2,5 +2,7 @@ import turtle
yan = ("") yan = ("")
input("你想要什么颜色?(用英文)"+yan) input("你想要什么颜色?(用英文)"+yan)
pen = turtle.Pen pen = turtle.Pen
pen.forward(50) for i in range(5):
pen.forward(50)
pen.right(115)
pen.pencolor(yan)
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