Commit fd4738ee by BellCodeEditor

save project

parent 0cc0851a
Showing with 24 additions and 4 deletions
import turtle
pen=turtle.Pen()
color=input("你想要什么颜色:")
pen.fillcolor(color)
pen.begin_fill()
for i in range(5):
pen.forward(100)
pen.right(144)
pen.end_fill()
turtle.done()
# 我们都爱夸夸夸
name=input("请输入你的名字:")
print(name+",你好")
\ No newline at end of file
import turtle
color=input("你想要什么颜色:")
pen=turtle.Pen()
pen.fill_color(color)
pen.begin_fill()
for i in range(5):
pen.right(144)
pen.forward(100)
pen.end_fill()
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