Commit 9e81e47a by BellCodeEditor

auto save

parent fa1eaa1e
Showing with 6 additions and 1 deletions
...@@ -14,7 +14,7 @@ pen.end_fill() #结束填充红色 ...@@ -14,7 +14,7 @@ pen.end_fill() #结束填充红色
turtle.done() turtle.done()
''' '''
import turtle import turtle
input('')
p = turtle.Pen() p = turtle.Pen()
color = input('你要添加什么颜色?') color = input('你要添加什么颜色?')
p.fillcolor('color') p.fillcolor('color')
...@@ -25,3 +25,7 @@ for i in range(5): ...@@ -25,3 +25,7 @@ for i in range(5):
p.left(144) p.left(144)
p.end_fill() p.end_fill()
turtle.done() turtle.done()
'''
import turtle
input()
'''
\ 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