Commit 0396cdf4 by BellCodeEditor

save project

parent 6238a343
Showing with 5 additions and 1 deletions
...@@ -8,7 +8,11 @@ while True: ...@@ -8,7 +8,11 @@ while True:
break break
if name != username: if name != username:
input("请重新输入用户名:") input("请重新输入用户名:")
continue name = input("请输入用户名:")
password = input("请输入密码:")
if name == username and password == userpassword:
print("登录成功!")
break
if password != userpassword: if password != userpassword:
input("请重新输入密码:") input("请重新输入密码:")
......
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