From 49a6c9e42df08c9adb980f9ee082c9d156283111 Mon Sep 17 00:00:00 2001 From: BellCodeEditor <bellcode_dev@bell.ai> Date: Tue, 17 Aug 2021 17:20:06 +0800 Subject: [PATCH] save project --- ppt.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ppt.py b/ppt.py index dbaaf96..439dfcd 100644 --- a/ppt.py +++ b/ppt.py @@ -5,5 +5,8 @@ while True: password=input("请输入用户密码") if R_name==name and R_password==password: break - print("输入错误,请重试") + if R_name!=name: + print("用户名输入错误,请重试") + if R_password!=password: + print("用户密码输入错误,请重试") print("登陆成功") \ No newline at end of file -- libgit2 0.25.0