Commit 73ee445f by BellCodeEditor

save project

parent ef03d4d1
Showing with 2 additions and 1 deletions
...@@ -8,10 +8,11 @@ while True: # 保存在服务器数据库中的用户密码(正确的密码 ...@@ -8,10 +8,11 @@ while True: # 保存在服务器数据库中的用户密码(正确的密码
break break
elif username!=a: elif username!=a:
print("用户名错误") print("用户名错误")
continue
elif userpassword!=b: elif userpassword!=b:
print("密码错误") print("密码错误")
else: else:
print("登录失败") continue
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