Commit 3fbda3fe by BellCodeEditor

save project

parent 2c367f03
Showing with 2 additions and 12 deletions
# 上节课你是这样绘制的五角星👇:
# 这节课你可以利用新学的知识自定义五角星的颜色么?
import turtle
x=turtle.Pen()
yanse=input("请输入您想要的五角星颜色:")
x.fillcolor(yanse)
x.begin_fill()
for i in range(5):
x.forward(200)
x.right(144)
x.end_fill()
turtle.done()
player=input("请出拳/石头/剪刀/布")
print("玩家出拳:"+player)
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