Commit bed2da1b by BellCodeEditor

save project

parent 220038ac
Showing with 5 additions and 3 deletions
......@@ -7,5 +7,7 @@ a=random.choice(list)
print("电脑出拳:"+a)
if player==a:
print("平局")
elif
\ No newline at end of file
elif (player=="布" and a=="剪刀")or(player=="剪刀" and a=="剪刀")or(player=="布" and a=="剪刀"):
print("输了")
else:
print("输了")
\ 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