Commit 24a919f4 by BellCodeEditor

save project

parent 3e87c907
Showing with 4 additions and 4 deletions
...@@ -8,10 +8,11 @@ while True: ...@@ -8,10 +8,11 @@ while True:
# 如果用户输入的账号、密码正确,提示登陆成功 # 如果用户输入的账号、密码正确,提示登陆成功
if a==username and b==userpassword: if a==username and b==userpassword:
print('登录成功') print('登录成功')
else: if a!=username:
print('重新输入') print('iwjz')
if b!=userpassword:
print('vgnjs')
break break
print('huanying') print('huanying')
\ 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