diff --git a/diy1.py b/diy1.py
index 6758167..0a38105 100644
--- a/diy1.py
+++ b/diy1.py
@@ -1,8 +1,12 @@
-# 玩家出
-player=input("请出拳(石头、剪刀、布):")
-print("玩家出:"+player)
 import random
-print("玩家"+player)
-list=("石头","剪刀","布")
-x=random.choice(list)
-print(x)
\ No newline at end of file
+list=["石头","剪刀","布"]
+player=input("请出拳("石头/剪刀/布):")
+computer=random.choice(list)
+print("玩家出:"+player)
+print("电脑出:"+computer)
+if player==computer
+    print("平局")
+    elif (player=="石头" or computer=="布",player == "剪刀" or "石头",player=="布" or computer=="剪刀"):
+        print ("你输了")
+    else(player=="石头" and computer=="剪刀",player=="剪刀" and "布",player=="布" and computer=="石头"):
+        print("你赢了")