Commit d745f648 by BellCodeEditor

save project

parent 13c01125
Showing with 299 additions and 0 deletions
......@@ -4,3 +4,302 @@ print("玩家出拳"+sb)
wc=["石头","剪刀","布"]
zzz=random.choice(wc)
print("计算机出拳"+zzz)
if sb==wc:
print("平局")
elif sb=="石头" and wc=="剪刀":
print("玩家胜")
elif sb=="剪刀" and wc=="布":
print("玩家胜")
elif sb=="布" and wc=="石头":
print("玩家胜")
else :
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