Commit 688c654d by BellCodeEditor

auto save

parent 2b7f6639
Showing with 3 additions and 17 deletions
x5 = 5 total = []
w1 = "" # 保存在服务器数据库中的用户账号(正确的账号) w
o2 = "" # 保存在服务器数据库中的用户密码(正确的密码) \ No newline at end of file
while x5>0:
w3=input("输入账号")
o4=input("输入密码")
x5=x5-1
if w1 == w3 and o2 == o4:
print("登陆成功")
print("欢迎来到贝尔编程")
break
elif not w1!=w3:
print("密码错误")
else:
print("账号错误")
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