Commit 980db527 by BellCodeEditor

save project

parent 204dfeb3
Showing with 7 additions and 11 deletions
import turtle player=input("出拳")
pen=turtle.Pen() print("玩家出拳"+player)
pen.fillcolor("yellow") import random
pen.begin_fill() l=["剪刀","石头","布"]
for i in range(5): computer=random.choice(l)
pen.forward(200) print(computer)
pen.right(144) \ No newline at end of file
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