Commit 32f7c8ff by BellCodeEditor

save project

parent 180f786a
Showing with 6 additions and 0 deletions
...@@ -4,3 +4,9 @@ print("出"+a) ...@@ -4,3 +4,9 @@ print("出"+a)
b=["石头","剪刀","布"] b=["石头","剪刀","布"]
cc=random.choice(b) cc=random.choice(b)
print("出"+cc) print("出"+cc)
if a==cc:
print("平局")
print("胜利了")
else:
print("失败了")
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