Commit 4c4c399f by BellCodeEditor

auto save

parent 0ce2c90e
Showing with 9 additions and 2 deletions
# 玩家出拳
player=input("你出什么(剪刀/石头/布)")
print("玩家出拳:"+player)
\ No newline at end of file
print("玩家出拳:"+player)
s=machine=["石头","剪刀","布"]
random.choice(machine)
print("机器出拳:"+s)
if s="布" and player="石头"
print("电脑赢")
else
if
\ 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