diff --git a/jk.py b/jk.py
index cc11d59..b7d44b5 100644
--- a/jk.py
+++ b/jk.py
@@ -1,4 +1,4 @@
-if player in list
+if player in list:
     if player==computer:
         print("平局")
     elif player=="石头"and computer=="剪刀":
@@ -8,4 +8,6 @@ if player in list
     elif player=="布"and computer=="石头":
         print("恭喜你,你赢了")
     else:
-        print("很遗憾,你输了")
\ No newline at end of file
+        print("很遗憾,你输了")
+else:
+    print("输入错误")
\ No newline at end of file