Commit e6b34210 by BellCodeEditor

save project

parent 920656bd
Showing with 9 additions and 2 deletions
...@@ -5,4 +5,11 @@ print("玩家出拳"+playr) ...@@ -5,4 +5,11 @@ print("玩家出拳"+playr)
asdw=["石","剪","布"] asdw=["石","剪","布"]
asdw1=random.choice(asdw) asdw1=random.choice(asdw)
print(asdw1) print(asdw1)
\ No newline at end of file
if (playr=="石"and asdw1=="剪") or( playr=="剪"and asdw1=="布") or( playr== "布" and asdw1=="石"):
print("555你赢了")
elif playr==asdw1:
print("平局")
else:
print("hhh你输了")
\ 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