Commit 68f3b179 by BellCodeEditor

save project

parent 1f5209fd
Showing with 5 additions and 2 deletions
......@@ -4,4 +4,8 @@ gn=["石头","剪刀","布"]
print("出的拳是:"+a)
b=random.choice(gn)
print("计算机出拳: "+b)
if
\ No newline at end of file
if player==b:
print("平局")
elif (player=="石头" and b=="剪刀") or (player=="剪刀" and b=="布") or ():
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