Commit 58d1432e by BellCodeEditor

save project

parent ec589c0f
Showing with 6 additions and 0 deletions
usename = "python" usename = "python"
password = "123456" password = "123456"
while True: while True:
if i>0:
us = input("请输入您的用户名:") us = input("请输入您的用户名:")
if us != usename : if us != usename :
print("用户名不正确,请重新输入!") print("用户名不正确,请重新输入!")
...@@ -11,3 +12,7 @@ while True: ...@@ -11,3 +12,7 @@ while True:
continue continue
if (us == usename)and(ps == password): if (us == usename)and(ps == password):
print("用户名,密码正确") print("用户名,密码正确")
break
else:
print("您的账户已被锁定,请拿证件")
exit()
\ 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