Commit 962c70b8 by BellCodeEditor

auto save

parent c4a9f2c0
Showing with 1 additions and 0 deletions
...@@ -3,6 +3,7 @@ import random ...@@ -3,6 +3,7 @@ import random
d=input() d=input()
print("玩家出拳"+d) print("玩家出拳"+d)
list=["剪刀","石头","布"] list=["剪刀","石头","布"]
if d in list00
comp=random.choice(list) comp=random.choice(list)
print("计算机出拳"+comp) print("计算机出拳"+comp)
if(d=comp): if(d=comp):
......
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