Commit 4f1890f1 by BellCodeEditor

auto save

parent b5c6bbbe
Showing with 14 additions and 0 deletions
player=input("出拳:")
print("出拳:"+player)
import random
list=["拳","布","剪"]
computer=random.choice(list)
print(computer)
if player==computer
print("和")
elf print=="拳"and computer=="剪"
print("你赢了")
elf print=="剪"and computer=="布"
print("你赢了")
elf print=="布"and computer=="拳"
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