From 2d67f70d75fb5e742b07ddd791d83eb1d9ed6706 Mon Sep 17 00:00:00 2001 From: BellCodeEditor <bellcode_dev@bell.ai> Date: Tue, 7 Dec 2021 20:19:19 +0800 Subject: [PATCH] auto save --- diy2.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/diy2.py b/diy2.py index 7a8b6d1..a2cb39a 100644 --- a/diy2.py +++ b/diy2.py @@ -1,5 +1,6 @@ username = "sb" userpassword = "666" +num=3 while True: name = input("请输入用户名:") @@ -8,4 +9,5 @@ while True: print("登录成功!") break print("用户名和密码错误!请重新输入") + exit() print("欢迎来到干饭编程!") \ No newline at end of file -- libgit2 0.25.0