Commit 79568d8d by BellCodeEditor

save project

parent 0a18f12f
Showing with 5 additions and 2 deletions
......@@ -3,7 +3,9 @@ userpassword = "123456" # 保存在服务器数据库中的用户密码(正
while True:
name=input("请输入账号:")
password=input("请输入密码")
if name==username and password==userpassword
print("登陆成功,欢迎来到")
if name==username and password==userpassword:
print("登陆成功,")
break
if name!=username and password!=userpassword:
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