From c3525b9c10abebe10e6ffdb8a756681b95d12eef Mon Sep 17 00:00:00 2001
From: BellCodeEditor <bellcode_dev@bell.ai>
Date: Sun, 24 Nov 2024 11:35:31 +0800
Subject: [PATCH] save project

---
 diy1.py | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/diy1.py b/diy1.py
index 00fdeb2..2810202 100644
--- a/diy1.py
+++ b/diy1.py
@@ -4,3 +4,9 @@ import random
 ink=["剪刀","石头","布"]
 jisuanji=random.choice(ink)
 print(jisuanji)
+if player==jisuanji:
+    print("平局")
+elif (player=="石头" and jisuanji=="剪刀") or (player=="剪刀" and jisuanji=="布") or (player=="布" and jisuanji=="石头"):
+    print("赢")
+else:
+    print("输")
--
libgit2 0.25.0