Commit b8bce0a5 by BellCodeEditor

save project

parent 731a896a
Showing with 3 additions and 3 deletions
import turtle import turtle
pen = turt.Pen() pen = turtle.Pen()
color=input() color=input("你想要什么样的五角星")
pen.fillcolor(color) pen.fillcolor(color)
pen.begin_fill("你想要什么样的五角星") pen.begin_fill()
for i in range(5): for i in range(5):
pen.forward(200) pen.forward(200)
pen.right(144) pen.right(144)
......
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