Commit e93da80b by BellCodeEditor

save project

parent c60da421
Showing with 5 additions and 3 deletions
...@@ -3,9 +3,11 @@ userpassword = "123456" # 保存在服务器数据库中的用户密码(正 ...@@ -3,9 +3,11 @@ userpassword = "123456" # 保存在服务器数据库中的用户密码(正
A=input("请输入账号") A=input("请输入账号")
B=input("请输入密码") B=input("请输入密码")
while True: while A == username and B==userpassword:
if A == username and B==userpassword print("输入错误,再次输入")
print(登录成功)# 请用input()实现用户输入账号、密码的功能 break
print("登录成功,欢迎来到贝尔编程!")
# 请用input()实现用户输入账号、密码的功能
......
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