Commit 2c9b148c by BellCodeEditor

save project

parent 987ee5ff
Showing with 7 additions and 12 deletions
import turtle player=input("请出拳:石头/剪刀/布:")
pen=turtle.Pen() print("玩家出拳:"+player)
yanse=input("颜色:") import random
pen.fillcolor(yanse) list=["石头","剪刀","布"]
pen.begin_fill() computer=random.choice(list)
pen.pendown() print("电脑出拳:"+computer)
for i in range(5): \ No newline at end of file
pen.forward(100)
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