Commit 13c01125 by BellCodeEditor

save project

parent fe3bac6f
Showing with 5 additions and 6 deletions
import random import random
player=input("请出拳:石头/剪刀/布") sb=input("玩家出拳 石头/剪刀/布")
print("玩家出拳"+player) print("玩家出拳"+sb)
zzz=["石头","剪刀","布"] wc=["石头","剪刀","布"]
wc=random.choice(zzz) zzz=random.choice(wc)
print("计算机出拳"+wc) print("计算机出拳"+zzz)
\ 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