Commit 5e67f797 by BellCodeEditor

save project

parent 59061ba6
Showing with 7 additions and 8 deletions
......@@ -4,10 +4,9 @@ while True:
name=input("请输入用户名:")
password=input("请输入密码:")
if name==username and password==userpassword:
break
if name!=username:
print("请重新输入用户名!")
continue
if password!=userpassword:
print("请重新输入密码!")
print("登陆成功!")
\ No newline at end of file
break
elif name!=username:
print("请重新输入用户名!")
eles :
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