Commit ea673f2c by BellCodeEditor

save project

parent f67d1d9a
Showing with 2 additions and 1 deletions
...@@ -4,11 +4,12 @@ d = "123456" # 保存在服务器数据库中的用户密码(正确的密 ...@@ -4,11 +4,12 @@ d = "123456" # 保存在服务器数据库中的用户密码(正确的密
while True: while True:
name=input('账号') name=input('账号')
njs=input('密码') njs=input('密码')
if name==username and njs==userpassword: if name==e and njs==d:
print('登录成功') print('登录成功')
break break
if name!=e: if name!=e:
print('多少度') print('多少度')
continue
if njs!=d: if njs!=d:
print('没和你') print('没和你')
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