Commit c763f2c7 by BellCodeEditor

save project

parent a3436e0a
Showing with 8 additions and 3 deletions
x=input("玩家出拳:") import random
print(x+"你出什么:布\石头\剪刀") wanjia=input("玩家出拳:")
\ No newline at end of file print("你出的是:"+wanjia)
#机器人出拳
list=["石头","剪刀","布"]
computer=random.choice(list)
print("电脑出:"+computer)
\ 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