Commit adbc491a by BellCodeEditor

save project

parent 82821c27
Showing with 6 additions and 4 deletions
......@@ -2,11 +2,14 @@ a="william"
b="20100928"
while True:
name=input("请输入:")
key=input("")
name=input("请输入用户名:")
key=input("请输入密码")
if a==name and b==key :
print("登录成功")
break
if a!=name:
print("请重新登录,提示:账号错误。")
if b!=key:
print("请重新登录,提示:密码错误。")
print("请重新登录")
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment