Commit 745ff72a by BellCodeEditor

save project

parent 1f93319e
Showing with 3 additions and 2 deletions
...@@ -9,9 +9,10 @@ while True: ...@@ -9,9 +9,10 @@ while True:
if name == username and password == userpassword: if name == username and password == userpassword:
print("登录成功!") print("登录成功!")
break break
elif username!="python": elif name!=username:
print("帐号错误") print("帐号错误")
else userpassword != "123456": else:
password != userpassword
print("密码错误") print("密码错误")
else: else:
print("帐号锁定") print("帐号锁定")
......
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