Commit 0105a3c8 by BellCodeEditor

save project

parent 150e856a
Showing with 9 additions and 8 deletions
i=3
usename==kk
userpassword==1234567890
while True:
if i>0
name=input("请输入用户名")
passwond=input("请输入密码")
if name==usename and passwond==userpassword: :
print("登录成功")
break
if name!=usename :
print("用户名错误")
print("用户名错误,重新输入")
continue
if passwond!=userpassword:
print("密码错误")
print("密码错误,重新输入")
else:
print("您的账户已冻结,请一个小时后再来")
exit()
print("欢迎!")
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