Commit f92c8fd7 by BellCodeEditor

auto save

parent ecacacfc
Showing with 1 additions and 1 deletions
...@@ -4,7 +4,7 @@ print("玩家出拳:"+s) ...@@ -4,7 +4,7 @@ print("玩家出拳:"+s)
import random import random
list=["石头","剪刀","布"] list=["石头","剪刀","布"]
awa=random.choice(list) awa=random.choice(list)
print(awa) print("电脑出拳:"+awa)
if s==awa: if s==awa:
print("平局") print("平局")
elif s=="石头"and awa=="剪刀": elif s=="石头"and awa=="剪刀":
......
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