Commit 0c78b496 by BellCodeEditor

auto save

parent a837e07c
Showing with 11 additions and 7 deletions
player=input("请猜拳:石头\剪刀\布:") import turtle
print("玩家出"+player) pen=turtle.Pen()
import random pen.fillcolor("red")
list=["石头","剪刀","布"] pen.begin_fill()
computer=random.choice(list) for i in range(36):
print("计算机猜拳"+computer) pen.forward(200)
\ No newline at end of file pen.right(170)
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