Commit 4e26d847 by BellCodeEditor

save project

parent 92d2a449
Showing with 4 additions and 3 deletions
...@@ -3,9 +3,10 @@ userpassword = "123456" # 保存在服务器数据库中的用户密码(正 ...@@ -3,9 +3,10 @@ userpassword = "123456" # 保存在服务器数据库中的用户密码(正
a=input("密码") a=input("密码")
b=input("账号") b=input("账号")
# 请用input()实现用户输入账号、密码的功能 # 请用input()实现用户输入账号、密码的功能
if a==username and b==userpassword: while True:
print("成功") if a==username and b==userpassword:
else: print("成功")
break()
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