Commit c82b7fae by BellCodeEditor

save project

parent eac72e4f
Showing with 1 additions and 1 deletions
......@@ -6,7 +6,7 @@ q=["石头","剪刀","布"]
a=random.choice(q)
print("计算机出拳:"+a)
if f==q:
if f in q:
if f==a:
print("平局")
elif f=="石头"and a=="剪刀" or f=="剪刀" and a=="布" or f=="布" and a=="石头":
......
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