Commit c625fa98 by BellCodeEditor

save project

parent 8179c491
Showing with 13 additions and 3 deletions
name=input("你好,你的名字是什么") name=input("你想要什么颜色的五角星?")
print(name+",你是最棒的创造师!") print(name+",要得")
\ No newline at end of file import turtle
pen=turtle.Pen()
pen.fillcolor(name)
pen.begin_fill()
for i in range(5):
pen.forward(100)
pen.left(144)
pen.end_fill()
pen.hideturtle()
turtle.done()
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