Commit 4924dfca by BellCodeEditor

auto save

parent f7610984
Showing with 11 additions and 9 deletions
player=input("请出拳:石头/剪刀/布")# 玩家出拳 import turtle
print("玩家出拳:"+player) pen=turtle.Pen()
import random #导入随机模块 Pen.shape("arrow")
lalst=("石头","剪刀","布")#创建变量 Pen.fillcolor("blue")
computer=random.choice(last)#调用变量 Pen.begin_fill()
print(computer)#输出电脑出拳 for i in range:
else:
print("你输了")
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