Commit d2af2ecd by BellCodeEditor

save project

parent a47fead7
Showing with 2 additions and 1 deletions
......@@ -6,7 +6,7 @@ a=random.choice(sb)
print("计算机出拳"+a)
if player == a
print("平局")
elif (wanjia=="石" and a=="剪")or(wanjia=="剪" and a=="布")or(wanjia=="布" and a=="石")
elif (wanjia=="石" and a=="剪")or(wanjia=="剪" and a=="布")or(wanjia=="布" 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