Commit b6b68245 by BellCodeEditor

save project

parent 406b5366
Showing with 9 additions and 0 deletions
......@@ -10,8 +10,16 @@ while True:
break
if q!=username and userpassword==a:
print('账号错误')
e=input('去输入账号')
if e==username:
print('正确')
break
if q==username and userpassword!=a:
print('密码错误')
z=input('去输入密码')
if z==userpassword:
print('正确')
break
if q!=username and userpassword!=a:
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