Commit 10224b3b by BellCodeEditor

save project

parent a2188709
Showing with 1 additions and 1 deletions
......@@ -5,9 +5,9 @@ while True:
userpassword1=input('请输入密码')
if username==username1 and userpassword==userpassword1:
print('登录成功')
break
if username!=username1:
print('用户名不存在,请重新输入')
continue
if userpassword!=userpassword1:
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