Commit dd10a4f4 by BellCodeEditor

save project

parent 4ce966e1
Showing with 20 additions and 0 deletions
i=3
username = "zheng"
userpassword = "245418"
while True:
if i>0:
n = input("请输入用户名:")
m = input("请输入密码:")
if n == username and m == userpassword:
print("登录成功!")
break
if n != username:
input("用户名出错")
continue
if m !=userpassword:
input("密码出错")
else:
print("账号已冻结")
exit()
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