Commit 92091e0a by BellCodeEditor

save project

parent aeeb5dd3
Showing with 5 additions and 2 deletions
e = "老赵" # 保存在服务器数据库中的用户账号(正确的账号) e = "老赵" # 保存在服务器数据库中的用户账号(正确的账号)
d = '44444' # 保存在服务器数据库中的用户密码(正确的密码) d = '44444' # 保存在服务器数据库中的用户密码(正确的密码)
i=2
while True: while True:
if i>0
a=input('hjghufuefhffufheufjehfjrfnejrejffrjgbrjgfgtdn cjmv njbvnfgnhguhghyfgfhn gh bn b f v,fd,mvr')# 请用input()实现用户输入账号、密码的功能 a=input('hjghufuefhffufheufjehfjrfnejrejffrjgbrjgfgtdn cjmv njbvnfgnhguhghyfgfhn gh bn b f v,fd,mvr')# 请用input()实现用户输入账号、密码的功能
b=input('dekfddjfdfefieffjegfhgherhfgejhfrejgferjngrjfgrhgjfdnhrgnerdgjdngfdgmfkgrnjhg') b=input('dekfddjfdfefieffjegfhgherhfgejhfrejgferjngrjfgrhgjfdnhrgnerdgjdngfdgmfkgrnjhg')
i-=1
if e==a and d==b: if e==a and d==b:
print('登陆成功')# 如果用户输入的账号、密码正确,提示登陆成功 print('登陆成功')# 如果用户输入的账号、密码正确,提示登陆成功
...@@ -14,4 +15,5 @@ while True: ...@@ -14,4 +15,5 @@ while True:
continue continue
if d!=b if d!=b
print('你密码猜错了,密码是44444,不是',a) print('你密码猜错了,密码是44444,不是',a)
exit()
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