Commit 67b7a3e7 by BellCodeEditor

save project

parent ed04cb7b
Showing with 1 additions and 1 deletions
......@@ -4,7 +4,7 @@ print("玩家出拳"+i)
list=["石头","剪刀","布"]
l=random.choice(list)
print("电脑出拳"+l)
if i at list:
if i in list:
if i==l:
print("平局")
elif(i=="石头" and l=="剪刀") or (i=="剪刀" and l=="布") or (i=="布" and l=="石头")
......
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