Commit 1bd9ea77 by BellCodeEditor

save project

parent 6e590a72
Showing with 3 additions and 14 deletions
color = input("你想要什么颜色的五角星:") player = input("请出拳(石头/剪刀/布):")
import turtle print("玩家出拳:" + player)
\ No newline at end of file
pen = turtle.Pen()
pen.shape("turtle")
pen.fillcolor(color)
pen.begin_fill()
for i in range(5):
pen.forward(100)
pen.right(144)
pen.end_fill()
pen.hideturtle()
turtle.done()
\ No newline at end of file
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