Commit 9a56a942 by BellCodeEditor

save project

parent ef4f679f
Showing with 4 additions and 3 deletions
a=input("请出拳,(石头/剪/刀布):") l=input("请出拳,(石头/剪/刀布):")
print("玩家出拳:"+a) print("玩家出拳:"+l)
import random import random
a=["石头","剪刀","布"] a=["石头","剪刀","布"]
s=random.choice()=a s=random.choice(a)
print("电脑出:"+s)
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