diff --git a/m.py b/m.py index 90332f2..3f2fcaf 100644 --- a/m.py +++ b/m.py @@ -2,9 +2,12 @@ a = "233" b = "123456" while True: x=input("请输入账号:") - y=input("请输入密码:") + y=input("请输入密码:") + if x!=a: + print("账号错误!!!") + if y!=b: + print("密码错误!!!") if x==a and y==b: print("密码正确") break - print("错误!!!") print("233") \ No newline at end of file