Commit 07782566 by BellCodeEditor

save project

parent c9e27027
Showing with 7 additions and 11 deletions
import turtle if player==computter:
pen = turtle.Pen() print("平局")
color=input("你想要什么颜色的五角星?") elif player=="石头"and computer=="剪刀" or
pen.fillcolor(color) print("恭喜你,你赢了")
pen.begin_fill() else:
for i in range(5): print("很遗憾,你输了")
pen.forward(200) \ No newline at end of file
pen.right(144)
pen.end_fill()
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