Commit 58d1432e by BellCodeEditor

save project

parent ec589c0f
Showing with 16 additions and 11 deletions
usename = "python" usename = "python"
password = "123456" password = "123456"
while True: while True:
us = input("请输入您的用户名:") if i>0:
if us != usename : us = input("请输入您的用户名:")
print("用户名不正确,请重新输入!") if us != usename :
continue print("用户名不正确,请重新输入!")
ps = input("请输入您的密码:") continue
if ps != password : ps = input("请输入您的密码:")
print("密码不正确,请重新输入!") if ps != password :
continue print("密码不正确,请重新输入!")
if (us == usename)and(ps == password): continue
print("用户名,密码正确") if (us == usename)and(ps == password):
\ No newline at end of file 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