Commit 38d9fb5d by BellCodeEditor

save project

parent c35da9c9
Showing with 11 additions and 4 deletions
# 我们都爱夸夸夸 import turtle
name=input("你叫什么") pen=turtle.Pen()
print(name+"你好") color=input("你喜欢什么颜色")
\ No newline at end of file pen.fillcolor(color)
pen.begin_fill()
for i in range(4):
pen.forward(200)
pen.right(90)
pen.end_fill()
pen.hideturtle()#请使用turtle模块画出五角星
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