Commit e83b66e3 by BellCodeEditor

auto save

parent cf7e2531
Showing with 4 additions and 4 deletions
...@@ -8,6 +8,10 @@ while True: ...@@ -8,6 +8,10 @@ while True:
i=i+1 i=i+1
# 如果用户输入的账号、密码正确,提示登陆成功 # 如果用户输入的账号、密码正确,提示登陆成功
if i==5:
print("已锁定U•ェ•*U")
exit()
else
if name==username and password==userpassword: if name==username and password==userpassword:
print("成功d=====( ̄▽ ̄*)b") print("成功d=====( ̄▽ ̄*)b")
break break
...@@ -16,7 +20,4 @@ while True: ...@@ -16,7 +20,4 @@ while True:
continue continue
if password!=userpassword: if password!=userpassword:
print("密码X(;´༎ຶД༎ຶ`)") print("密码X(;´༎ຶД༎ຶ`)")
if i==5:
print("已锁定U•ェ•*U")
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